note 83329 deleted from function.mysql-select-db by danbrown

From: Date: Wed, 17 Jun 2009 14:41:52 +0000
Subject: note 83329 deleted from function.mysql-select-db by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156991@lists.php.net to get a copy of this message
Note Submitter: Martin Sarsini ---- just to improve buzz at oska dot com solution, it is definitely the best solution so far but it works only if you use the new_link parameter in the mysql_connect, setting it to true be aware that the new_link parameter was introduced starting from PHP 4.2 if you don't set the new_link to true, you will need to specify the database name followed by table name in the FROM query, ie. FROM databaseName.tableName, and probably in the SELECT more information here http://uk.php.net/function.mysql-connect

« previous php.notes (#156991) next »