Need hep with mysql function
| From: | zlut arch | Date: | Fri, 11 Jul 2003 01:30:26 +0000 |
| Subject: | Need hep with mysql function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154818@lists.php.net to get a copy of this message | ||
Hi,
I encountered a problem that I have never seen in my 3 years of using php and mysql. Yesterday, I installed MySql, php5, and apache2 on my new laptop. php5 worked fine with apache2, and MySql was working fine on its own. But when I tried to connect to MySql database, I get a strange error message: "Fatal error: Call to undefined function: mysql_connect()". I thought this is very strange since mysql_connect() is a built-in function in php5. How can it be an undefined function? Does anyone know what is going on?
Thanks,
Zlutarch
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail