cvs: phpdoc /en/functions array.xml /en/language basic-syntax.xml
| From: | Philip Olson | Date: | Fri, 30 Nov 2001 22:35:12 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml /en/language basic-syntax.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969339370@lists.php.net to get a copy of this message | ||
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 > closing
+ This works as expected, because when PHP hits the ?> 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