STrange Problem
| From: | PHP | Date: | Fri, 12 Mar 2004 18:06:54 +0000 |
| Subject: | STrange Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180272@lists.php.net to get a copy of this message | ||
Hi,
I am using RH9, Mysql 3.23.58, PHP 4.2.2, apache2.0
mysql_select_db("mydatabase",$connect_id)
allways fails.
I can use $connect_id = mysql_connect("localhost","apache"); (YES, I do have
this line before the mysql_select_db);
just fine.
I can run querys against the database with no problems, but for some reason,
mysql_select_db("mydatabase",$connect_id)
will allways return false, and I don't see any errors anywhere in any log. Why can I not select
the database with this, but have no problems using the database with every other mysql function?