mysql_select_db() problem
| From: | Nick Wilson | Date: | Sat, 09 Feb 2002 20:24:49 +0000 |
| Subject: | mysql_select_db() problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84130@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I just can't see what could possibly be wrong with my php here:
$sel_db=mysql_select_db("mydb") or die
("could not get the bugger");
exit;
I can 'USE mydb' just fine from the command line so what's the problem?
(returns the die statement)
Much thanks..
- --
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ZYWRHpvrrTa6L5oRArthAJ9Vew5DIKSR7qzc4M2abhxJfpz5TwCfRmZJ
ZBn2oUXT4UgsH1hM/UyyNGs=
=ajT+
-----END PGP SIGNATURE-----