mysql_select_db is not necessary but it does make writing queries
easier since you don't have to specify which database in each query.
On Aug 11, 2009, at 11:23 PM, Allen McCabe wrote:
I have seen different scripts for working with SQL, and most follow
method with on difference.
Variables are defined (host, password, etc.)
//then, the difference
//back to common
$sql = "SELECT ... "
$result = mysql_query($ql)
Is the database selection necessary, or is that implied with a
other SQL command?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php