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"];- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Sebastian Bergmann
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Mark Kronsbein
- Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml eschmid+sic
- Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Mark Kronsbein
- Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml eschmid+sic
- RE: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Stefan Saasen
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Georg Richter
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Joerg Behrens
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Georg Richter
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Georg Richter
- [PHP-DOC] cvs: phpdoc /de/functions mysql.xml Georg Richter
