Member
|
This is the code below together with html coding
<html>
<head>
MY SQL CONNECTION
<?php
$my_connection = mysql_connect('localhost', 'root, '');
if (!$my_connection){
die("Could not connect:".mysql_error());
}
echo 'Connected successfully'.'<br><br>';
}
mysql_close($my_connection);
?>
</head>
<body>
</body>
</html>
|
Member
|
I go this error printed on page '; mysql_close($my_connection); ?>
|