cvs: phpdoc /en/reference/mysql/functions mysql-fetch-assoc.xml

From: Date: Sun, 21 Apr 2002 15:23:30 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-fetch-assoc.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344676@lists.php.net to get a copy of this message
georg Sun Apr 21 11:23:30 2002 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-fetch-assoc.xml Log: changed example moved see also inserted see also reference Index: phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml:1.2 Wed Apr 17 02:41:11 2002 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-assoc.xml Sun Apr 21 11:23:30 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.45 --> <refentry id="function.mysql-fetch-assoc"> <refnamediv> @@ -41,18 +41,13 @@ <function>mysql_fetch_row</function>, while it provides a significant added value. </para> - <para> - For further details, see also - <function>mysql_fetch_row</function> and - <function>mysql_fetch_array</function>. - </para> <example> <title><function>mysql_fetch_assoc</function></title> <programlisting role="php"> <![CDATA[ <?php - mysql_connect($host, $user, $password); - mysql_select_db($database); + mysql_connect("localhost", "mysql_user", "mysql_password"); + mysql_select_db("mydb"); $query = "select * from table"; $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { @@ -64,6 +59,12 @@ ]]> </programlisting> </example> + <para> + For further details, see also + <function>mysql_fetch_row</function>, + <function>mysql_fetch_array</function> and + <function>mysql_query</function>. + </para> </refsect1> </refentry>

« previous php.doc (#969344676) next »