Hi, I'm a bit new to mySQL. I got my program working fine locally, but it
doesn't work when I upload it to my ISP.

db.php and pear.php couldn't be found on my server when I first ran it. I
uploaded them, but could that be part of my problem?

The following code is returning "DB Error: not found":

 $database_address = "mysql://user:[EMAIL PROTECTED]/dbname";
 require_once('DB.php');
 $c_db = DB::connect($database_address);
 if(DB::iserror($c_db)){
  die($c_db->getMessage());
 }

Peter



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to