mysql_connect("localhost","root") 
        or die("Unable to connect to MySQL server");

  $err mysql_connect("localhost","root");
  if ($err != 0) {


Under what conditions will the die clause be taken.

What is in $err  if there is a error?

Are these 2 statements basically doing the same thing?

 
 

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to