note 29658 deleted from function.mysql-select-db by victor
| From: | victor@php.net | Date: | Thu, 20 Feb 2003 20:04:30 +0000 |
| Subject: | note 29658 deleted from function.mysql-select-db by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44272@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 );