I have newly installed mysql saver on computer yesterday.
But when I run a PHP file with this code I have been getting this error messageCode:<?php $con = mysql_connect("localhost","home","iagree"); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>
What is wrong on my code?Code:Fatal error: Call to undefined function mysql_connect() in I:\Inetpub\wwwroot\PHPTest\SQLTest.php on line 2




Reply With Quote