Error in connection with Mysql

wxdqz

New Member
I just started using php coding with Mysql database and Apache web server. I wrote a code to connect to the Mysql for query with the following line.
<?
Line 2 :$link = mysql_connect("localhost","root","");
.....

when i run the php code on the wed browswer, it give me error like unsupport function for mysql_connect .

Can someone tell me how to solve this problem?? Thanks
 
Back
Top