> Hi all.
>
> I just wondered if the general convention was to use entirely PHP and
> simply
> encase HTML TAGs within that or use a mix and simply use PHP TAGs when
> required.
>
>
>
> --
> -----------------------------
>  Michael Mason


I'm trying to get myself to use PHP tags when required. When I first
started learning PHP with HTML I would encase entire tables under PHP tags
out of bad learning habits. Not only was it ugly to look at (so many echo
statments, quotes ("") and escape slashes (\") ) but it became really hard
to read the code.

Also, using the PHP tags can mean fewer characters in your webpage making
it slightly smaller.

But...that's just my preference. :)

--Matthew Sims
--<http://killermookie.org>

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

Reply via email to