Fatal error: Call to undefined function mysql_create_db()

From: Date: Sat, 27 May 2006 10:02:41 +0000
Subject: Fatal error: Call to undefined function mysql_create_db()
Groups: php.general 
Request: Send a blank email to php-general+get-236997@lists.php.net to get a copy of this message
Hi All, I get the following, *Fatal error*: Call to undefined function mysql_create_db() in */usr/local/apache2/htdocs/createmovie.php* on line 6 for this code, 5 //create the moviesite database 6 mysql_create_db("moviesite") or die(mysql_error()); which is from a tutorial in the book I'm using. Any pointers? Code looks identical to the book's. Cheers. P.S. I also tried this, mysql_create_db("moviesite", $connect) or die(mysql_error()); and mysql_create_db("moviesite", "$connect") or die(mysql_error()); Mark Sargent.

« previous php.general (#236997) next »