Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

Re: [PHP-DB] php/mysql From: Russell John Michell (r.j.michell <email protected>)
Date: 12/08/00

>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 <email protected>
ext 2331

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>