Re: escaping HTML
| From: | magnus | Date: | Tue, 12 Dec 2000 16:41:42 +0000 |
| Subject: | Re: escaping HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29893@lists.php.net to get a copy of this message | ||
Lawrence.Sheed@dfait-maeci.gc.ca wrote:
...
> Its faster to output straight html and put in <?php code here ?> into your
> html though, than using print/echo.
>
> You should look at using templates, It's a much better way of working - you
> can then mostly separate code from html. You then use placemarkers in the
> html for where your output should go.
>
> eg
>
> <html>
> <title>{TITLE_HERE}</title>
> ...
>
> I use regex for this - quite fast too!
Regex, templates (to do with css?)? New to me - can you post some links?
thanks,
Magnus