I am using Apache 2 in Linux 8 .Whenever in my php script I want to connect to mysql through mysql_connect() function a error occured.

My script is like that
$linlid=mysql_connect("localhost","user1","user1")or die("Connections failed");
print "Connected successfully";

The script writes this.....
Fatal error: Call to undefined function: mysql_connect()

Please help me.I have installed Apache and php through RPM.
Anybody can help me.


Get more buddies in your list. Win prizes http://messenger.msn.co.in/promo

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

Reply via email to