> Ok most all programs I see they use <?php echo $somevar; ?>
> within the html.
> Now I have always used the shortened version <?=$somevar?> Is
> there a reason
> why I should not use this?  I've never had any problems with this way of
> doing things, but I just don't see anyone else using that format..

I think it's because the '=$blah' syntax relies on short tags <? ... ?>...
and short tags can upset XML parsers... as a result short tags aren't
supported by all hosting providers .... so your code could break if ported
to another site...

Cheers
Rich


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

Reply via email to