Re: php/mysql

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: php/mysql
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5094@lists.php.net to get a copy of this message
>i've use odbc for the database connection its works superb!! now i'm >trying >to use mysql but from the start i get the following pb " Call to >unsupported >or undefined function () on line 11". In my script on line 11 is >where i declare my database $mysql_select_db("database", $mysql_link) Make sure the 'database' line is a variable call to a previousely declared variable: $db_name = "testDB"; $mysql_select_db($db_name, $mysql_link) or die("Unable to select database"); Also make sure you are not using a function call from an older php version. Hope that helps a bit! Regards: Russ -------------------------------------------- "Believe nothing - consider everything" Russ Michell (APU webteam) r.j.michell@anglia.ac.uk ext 2331

« previous php.db (#5094) next »