Is Mysql configured in PHP to be usable? Just having both installed isn't
enough, there is configuration to 'enable' mysql. Try this link:
Based on the fact that it is saying mysql_connect() is undefined, I'd say that
mysql functions aren't enabled/configured.
----- Original Message ----
From: Nhan <[EMAIL PROTECTED]>
Sent: Friday, November 2, 2007 5:04:03 AM
Subject: Re: [PHP-DB] PHP cannot access mySQL
OK, now I have the errormessage:
Fatal error: Call to undefined function mysql_connect()
"Chris" <[EMAIL PROTECTED]> wrote in message
> Nhan wrote:
>> I have IIS 5.1 with PHP 5 and MySQL 4.1
>> With a client tool (such as MySQL Front) I can access MySQL. But my PHP
>> page cannot, with the same username and passord.
>> Why? What can I do?
> What is the error message?
> Postgresql & php tutorials
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php