torben          Tue Nov 27 05:17:08 2001 EDT

  Modified files:              
    /phpdoc/en/language basic-syntax.xml 
  Log:
  A typo and a formatting fix.
  
  
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.21 
phpdoc/en/language/basic-syntax.xml:1.22
--- phpdoc/en/language/basic-syntax.xml:1.21    Sun Nov 25 17:08:36 2001
+++ phpdoc/en/language/basic-syntax.xml Tue Nov 27 05:17:08 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
  <chapter id="language.basic-syntax">
   <title>Basic syntax</title>
 
@@ -92,7 +92,7 @@
     </script>
 
 4.  <% echo ("You may optionally use ASP-style tags"); %>
-    <%= $variable; # This is a shortcut for "&lt;%echo .." %>
+    <%= $variable; # This is a shortcut for "<% echo . . ." %>
 ]]>
       </programlisting>
      </example>
@@ -136,16 +136,15 @@
      <programlisting role="php">
 <![CDATA[
 <?php
-if (boolean-expression) {
+if ($expression) { 
     ?>
-<strong>This is true.</strong>
-    <?php
-} else {
+    <strong>This is true.</strong>
+    <?php 
+} else { 
     ?>
-<strong>This is false.</strong>
-    <?php
+    <strong>This is false.</strong>
+    <?php 
 }
-    ?>
 ]]>
      </programlisting>
     </example>


Reply via email to