Re: Transform a block of code in PHP

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

 



On Fri, February 23, 2007 6:12 am, Helder Lopes wrote:
> how to transform a block of code in html to php??
> for example this,

I'm not sure I understand the question...

Look for the parts that repeat, and re-factor them as a loop through
some kind of data storage such as a database?

Or perhaps you are just looking for the 'heredoc' language construct?
http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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