cvs: phpdoc /de/functions mysql.xml
| From: | Joerg Behrens | Date: | Mon, 07 Jan 2002 23:57:11 +0000 |
| Subject: | cvs: phpdoc /de/functions mysql.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969340902@lists.php.net to get a copy of this message | ||
joerg Mon Jan 7 18:57:11 2002 EDT
Modified files:
/phpdoc/de/functions mysql.xml
Log:
removing depricated functioncall from the mysql_fetch_array example
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.34 phpdoc/de/functions/mysql.xml:1.35
--- phpdoc/de/functions/mysql.xml:1.34 Thu Jan 3 08:28:42 2002
+++ phpdoc/de/functions/mysql.xml Mon Jan 7 18:57:11 2002
@@ -627,7 +627,8 @@
<programlisting role="php">
<?php
mysql_connect ($host, $user, $password);
-$result = mysql_db_query ("database","select * from table");
+mysql_select_db("database");
+$result = mysql_query("select user_id, fullname from table");
while ($row = mysql_fetch_array ($result)) {
echo $row["user_id"];
echo $row["fullname"];