[phplib] Applying a template to a database output From: Roberto Guerreiro (zwatt <email protected>)
Date: 06/22/01

Hi!

I'm developing a website using templates and mysql. THe problem is that
some times i have the need to apply templates to the output of the
database.

i.e. when i read something like this from the database:
                      |id |name |url
                |1 |nav1 |http://{LOCALHOST}/nav1.php

i want to substitute {LOCALHOST} for the url of the localhost.
How can i do that?

Thanks for your attention!...

  ___________________________________
 / SECCAO DIGITAL - AEIST \
| http://joel.ist.utl.pt |
|-------------------------------------|
| ROBERTO GUERREIRO |
|-------------------------------------|
| email: zwatt <email protected> |
 \___________________________________/

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>