Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

php code

Name: Anonymous 2007-08-01 19:16 ID:Ge7BfjLz

Here is a code snippet from my project
$db = mysql_pconnect('', 'name', 'pass');
$sd=  mysql_select_db("books",$db);

the first part works perfectly and it connects to the mysql
however it will not choose the database i need.

Name: Anonymous 2007-08-01 21:31 ID:SoiA2EAj

if i change the name of the database to something random i get
 
Access denied for user 'user'@'localhost' to database 'dhjfjh_books'
selecting database failed

It seems to think it selected the database properly but still returns false

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List