Hi afan,

Wednesday, November 16, 2005, 4:12:53 PM, you wrote:

> always wondered what's better way to mix html and php code. Here are
> three "ways" of the same code. Which one you prefer? (And why, of
> caurse :))

Honestly, I wouldn't pick any of them :)

But if I had to (i.e. forced at gun-point or something) it'd have to
be #2, because it's at least mixing HTML and PHP in a way that doesn't
create massive strings, for no actual reason other than it is the
easiest format to go in and change the HTML without causing a
potential syntax error.

Cheers,

Rich
-- 
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk

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

Reply via email to