note 29658 added to function.mysql-select-db

From: Date: Thu, 20 Feb 2003 15:58:46 +0000
Subject: note 29658 added to function.mysql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-44264@lists.php.net to get a copy of this message
Why do we prefer mysql_select_db ("database"); to mysq_query ("use database"); ?!? mysql>use somedatabase; is perfectly part of SQL, is it not? After all, we do not need special functions such as mysql_update_where ($table, $column, $condition, $value ); -- http://www.php.net/manual/en/function.mysql-select-db.php http://master.php.net/manage/user-notes.php?action=edit+29658 http://master.php.net/manage/user-notes.php?action=delete+29658 http://master.php.net/manage/user-notes.php?action=reject+29658

« previous php.notes (#44264) next »