note 16861 rejected from language.basic-syntax by zak
| From: | zak@php.net | Date: | Fri, 16 Nov 2001 07:22:54 +0000 |
| Subject: | note 16861 rejected from language.basic-syntax by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20911@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?