note 16861 added to language.basic-syntax
| From: | floshusband at fix dot net | Date: | Fri, 16 Nov 2001 06:19:21 +0000 |
| Subject: | note 16861 added to language.basic-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20909@lists.php.net to get a copy of this message | ||
Can someone tell me why method #2 is recommended over #1? What is the difference
between:<P><? echo ("this is the simplest, an SGML processing instruction\n");
?>
<BR>and<BR>
<?php echo("if you want to serve XHTML or XML documents, do like this\n");
?></P>
<P>totally the same except for the opening tag, which shouldl'd matter to xhtml because
(in theory) xhtml should be the output of the PHP. Right?
--
http://www.php.net/manual/en/language.basic-syntax.php
http://master.php.net/manage/user-notes.php?action=edit+16861
http://master.php.net/manage/user-notes.php?action=delete+16861
http://master.php.net/manage/user-notes.php?action=reject+16861