note 25954 added to function.mysql-db-query

From: Date: Sat, 12 Oct 2002 19:12:27 +0000
Subject: note 25954 added to function.mysql-db-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-37981@lists.php.net to get a copy of this message
I wonder, how much users/applications still use mysql_db_query: Its very slow, cause before every query a mysql_select_db call is executed and its unsafe cause you can't use it with mysql_query in the same script without running in heavy probs. If you have to use another db, just use "select fields from db.table" -- http://www.php.net/manual/en/function.mysql-db-query.php http://master.php.net/manage/user-notes.php?action=edit+25954 http://master.php.net/manage/user-notes.php?action=delete+25954 http://master.php.net/manage/user-notes.php?action=reject+25954

« previous php.notes (#37981) next »