Dear all, i have the first problem when i try to testmysql_connect, the codes is as following:
<?php
$link = mysql_connect('localhost', 'root', '');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
but the browser cannot read it(everything worked well before i use this command.
<?php
$link = mysql_connect('localhost', 'root', '');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
but the browser cannot read it(everything worked well before i use this command.