mysql_connect() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,


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.

Indrajit





_________________________________________________________________
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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux