Re: mysql_db_query is deprecated

From: Date: Sat, 16 Mar 2002 11:29:40 +0000
Subject: Re: mysql_db_query is deprecated
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-6378@lists.php.net to get a copy of this message
This is because it is better to do mysql_connect('','',''); mysql_select_db('some'); ... mysql_query().. ... After selecting the database with mysql_select_db() it is the default, so you don't need to provide its resource id. If you want to make a query to another db just call mysql_select_db() with the name of the new db. Best regards, Andrey Hristov ----- Original Message ----- From: "Martin" <webmaster@svensk-design.com> To: <php-install@lists.php.net> Sent: Saturday, March 16, 2002 1:28 PM Subject: [PHP-INST] mysql_db_query is deprecated > Warning: mysql_db_query is deprecated; use mysql_select_db() and > mysql_query() instead in i:\apache\htdocs\phoenix\online.php on line 18 > > What is this....Why is the server responding > in this way!!!? > > -- > Martin Eriksson > webdesigner & Utvecklare > ---------------------------------------------------------------- > webmaster@svensk-design.com > http://www.svensk-design.com > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.install (#6378) next »