Re: Auto-generating HTML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andy McKenzie wrote:
>   I have the feeling this is a stupid question, but I can't even find
> anything about it.  Maybe I'm just not searching for the right things.
>
>   Here's the problem.  I'm writing a lot of pages, and I hate going in
> and out of PHP.  At the same time, I want my HTML to be legible.

Without knowing *why* you "hate going in and out of php"...

You could use some kind of text preprocessor before putting the files on
the webserver. There's a nice example for html at
http://www.linuxjournal.com/article/5594 (starting about a third of the
way down the page). Nothing specific about php of course.

Just an alternative you might not have thought of.

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.

PHP 5.2.12 (cli) (built: Jan 14 2010 14:54:11) 
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux