Date: 12/12/00
- Next message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/functions xslt.xml"
- Previous message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/language types.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ronabop Tue Dec 12 20:59:39 2000 EDT
Modified files:
/phpdoc/en/language basic-syntax.xml
Log:
Updating per XHTML/XML discussions on php-dev
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.3 phpdoc/en/language/basic-syntax.xml:1.4
--- phpdoc/en/language/basic-syntax.xml:1.3 Wed Nov 1 15:33:42 2000
+++ phpdoc/en/language/basic-syntax.xml Tue Dec 12 20:59:39 2000
@@ -14,7 +14,7 @@
<programlisting>
1. <? echo ("this is the simplest, an SGML processing instruction\n"); ?>
-2. <?php echo("if you want to serve XML documents, do like this\n"); ?>
+2. <?php echo("if you want to serve XHTML or XML documents, do like this\n"); ?>
3. <script language="php">
echo ("some editors (like FrontPage) don't
@@ -37,6 +37,11 @@
</para>
<para>
+ The second way is the generally preferred method, as it allows for the
+ next generation of XHTML to be easily implemented with PHP.
+ </para>
+
+ <para>
The fourth way is only available if ASP-style tags have been
enabled using the <link linkend="ini.asp-tags">asp_tags</link>
configuration setting.
@@ -92,7 +97,7 @@
end of the line or the current block of PHP code, whichever
comes first.</simpara>
<informalexample><programlisting>
-<h1>This is an <?# echo "simple";?> example.</h1>
+<h1>This is an <?php # echo "simple";?> example.</h1>
<p>The header above will say 'This is an example'.
</programlisting></informalexample>
- Next message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/functions xslt.xml"
- Previous message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/language types.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

