Problem!
| From: | David Gonzalez | Date: | Sat, 08 Nov 2003 17:05:30 +0000 |
| Subject: | Problem! | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31504@lists.php.net to get a copy of this message | ||
Hello php-db,
Looked everywhere to try to find why after compiling PHP 4.3.4
on Mdk 9.1 like this:
./configure \
--prefix=/wwwroot/php \
--with-apxs2=/wwwroot/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-ftp \
--enable-sockets \
i always get this error whenever using mysql_create_db()
Fatal error: Call to undefined function: mysql_create_db() in /home/david/html/con.php on line 5
<?php
$link = mysql_connect ("localhost", "xxxxx", "xxxxx")
or die ("Imposible Conectar");
print ("Conectado Correctamente!");
mysql_create_db("my_database")
or die ("No pude crear la DB!");
?>
If already answer please tell me where is the answer on the
archives so i can look up an answer.
Thanx PHP Experts!.
--
Best regards,
David mailto:ftn@skynetbbs.org