CVS update: phpdoc/functions
| From: | eschmid | Date: | Thu, 01 Jul 1999 19:49:18 +0000 |
| Subject: | CVS update: phpdoc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7951@lists.php.net to get a copy of this message | ||
Date: Thursday July 1, 1999 @ 15:49
Author: eschmid
Update of /repository/phpdoc/functions
In directory php:/tmp/cvs-serv26198
Modified Files:
mysql.sgml
Log Message:
Some enhancement and removed duplicate examples.
Index: phpdoc/functions/mysql.sgml
diff -u phpdoc/functions/mysql.sgml:1.3 phpdoc/functions/mysql.sgml:1.4
--- phpdoc/functions/mysql.sgml:1.3 Wed Jun 30 15:47:18 1999
+++ phpdoc/functions/mysql.sgml Thu Jul 1 15:49:18 1999
@@ -962,7 +962,7 @@
<parameter>link_identifier</parameter> isn't specified, the last
opened link is assumed. If no link is open, the function tries
to establish a link as if <function>mysql_connect</function> was
- called, and use it.
+ called <emphasis>with no arguments</emphasis>, and use it.
<para>
The query string should not end with a semicolon.
<para>
@@ -986,21 +986,6 @@
</programlisting>
</example>
- <para>
- The following query is semantically invalid if
- <literal>my_col</literal> is not a column in the table
- <literal>my_tbl</literal>, so <function>mysql_query</function>
- fails and returns FALSE:
-
- <example>
- <title><function>mysql_query</function></title>
- <programlisting role="php">
-<?php
-$result = mysql_query ("SELECT * WHERE 1=1")
- or die ("Invalid query");
-?>
- </programlisting>
- </example>
<para>
The following query is semantically invalid if
<literal>my_col</literal> is not a column in the table