note 28947 added to function.mysql-db-query
| From: | robin at NOSPAM dot vmedia dot com dot au | Date: | Wed, 29 Jan 2003 00:02:01 +0000 |
| Subject: | note 28947 added to function.mysql-db-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42953@lists.php.net to get a copy of this message | ||
The extent of deprecation of this query varies depending on which platform's version of PHP you
are using;
PHP 4.1.2-5 on Debian GNU/Linux 3.0 r1 supports both mysql_db_query($mysql_database,
"$query") and mysql_query("$query", $mysql_link) very interchangably.
Similarly with PHP 4.2.3 on IRIX 6.5.16
PHP 4.0.something on Red Hat Linux 7.something has already fully deprecated the
mysql_db_query($mysql_database, "$query") and insists on using
mysql_query("$query", $mysql_link)
PHP 4.2.3 on MacOS 10.0.2 has yet to make the transition at all - changing queries
mysql_db_query($mysql_database, "$query") to mysql_query("$query", $mysql_link)
simply don't parse.
--
http://www.php.net/manual/en/function.mysql-db-query.php
http://master.php.net/manage/user-notes.php?action=edit+28947
http://master.php.net/manage/user-notes.php?action=delete+28947
http://master.php.net/manage/user-notes.php?action=reject+28947