[PHP-DOC] cvs: phpdoc /en/functions array.xml /en/language basic-syntax.xml From: Philip Olson (philip <email protected>)
Date: 11/30/01

philip Fri Nov 30 17:35:12 2001 EDT

  Modified files:
    /phpdoc/en/functions array.xml
    /phpdoc/en/language basic-syntax.xml
  Log:
  Typo
  
  
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.130 phpdoc/en/functions/array.xml:1.131
--- phpdoc/en/functions/array.xml:1.130 Thu Nov 29 13:48:57 2001
+++ phpdoc/en/functions/array.xml Fri Nov 30 17:35:12 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.130 $ -->
+<!-- $Revision: 1.131 $ -->
  <reference id="ref.array">
   <title>Array Functions</title>
   <titleabbrev>Arrays</titleabbrev>
@@ -2861,7 +2861,7 @@
 
 <?php
 
-$result = mysql_query ($conn, "SELECT id, name, salary FROM employees");
+$result = mysql_query ("SELECT id, name, salary FROM employees",$conn);
 while (list ($id, $name, $salary) = mysql_fetch_row ($result)) {
     print (" <tr>\n".
            " <td><a href=\"info.php3?id=$id\">$name</a></td>\n".
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.23 phpdoc/en/language/basic-syntax.xml:1.24
--- phpdoc/en/language/basic-syntax.xml:1.23 Tue Nov 27 06:07:23 2001
+++ phpdoc/en/language/basic-syntax.xml Fri Nov 30 17:35:12 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.23 $ -->
+<!-- $Revision: 1.24 $ -->
  <chapter id="language.basic-syntax">
   <title>Basic syntax</title>
 
@@ -149,7 +149,7 @@
 ]]>
      </programlisting>
     </example>
- This works as expected, because when PHP hits the &gt; closing
+ This works as expected, because when PHP hits the ?&gt; closing
     tags, it simply starts outputting whatever it finds until it hits
     another opening tag. The example given here is contrived, of
     course, but for outputting large blocks of text, dropping out of