Hello Everyone,

I'm new to this so forgive my ignorance. I'm trying to use php with MySQL
as a database. I'm using apache 2.0 in addition to Mysql 4.1.

I created a simple page (using book to learn) and when I try to go to a
simple  php script I recieve the following error:

Call to undefined function:  mysql_connect()

I've followed the instructions and the mysql_connect() function has the
correct arguments supplied ("host", "user", "passwd");

Can anyone shed any light on this? I've looked at the php.ini file and it
looks ok. the apache has the php.conf file in the conf.d directory.

The book I'm learning from had some simple examples pages that I created
early on and they work; however this is the first attempt at trying to use
php to connect.

Any help would be appreciated.

Thanks,

James

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to