At 2:40 PM -0700 7/12/06, Ray Hauge wrote: >On Wednesday 12 July 2006 14:31, Richard Lynch wrote: > > Using short tags (<? instead of <?php) is also a Bad Idea. >> >> Finally, echo "$previous"; is silly, as the quote marks serve no >> purpose at all. echo $previous; would be better. >> >> -- >> Like Music? >> http://l-i-e.com/artists.htm > >A bit off topic, but I hadn't heard about short tags being a bad idea. What >reasons make short tags worse than the regular tags. Just curious. > >Ray I read that as well -- it has been widely published. If you want to write code that will co-exist with xml then you MAY have problems because xml MAY use that tag as well. Of course you can turn off that in the php.ini file with short_open_tag directive, but it's simpler to just use the formal "<?php". Besides, the formal version is better than using <script language="php">... code... </script>. tedd -- ------------------------------------------------------------------------------------ http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php