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:13 ID:SoiA2EAj

it's blank if i've used it right
  $sd=  mysql_select_db("nuclear_books",$db);
  echo mysql_error();
  if ($sd = "false")
  {
    echo "selecting database failed <br>";
  }
It displays selecting database failed but mysql_error isn't returning anything

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