Hi Everyone,
I encounted this error message below and don't know what seems to be the problem.
Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\phppro\mysqltest.php on line 3
Help please.
Thanks
-Jun
CODE:
<?php
// Connecting, selecting database
$link = mysql_connect('localhost', 'jun', 'pass')
or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
mysql_select_db('mysql') or die('Could not select database');
?>