Hi All
I am new to PHP and MySQL, so please go easy on me!
The following is a simple PHP script to connect to my server. The MySQL service is running. The first echo statement displays, but the second one never displays. To me it implies that my connection to the database server is hanging, but I'm not sure what to look at. I don't even get an error, it just displays the first message and the second message never appears.
<html>
<head><title>Cr eate Database and table</title></head>
<body>
<?php
echo "Before";
$linkID = mysql_connect(" localhost","mar tin","martin") ;
echo "After";
?>
</body>
</html>
I am new to PHP and MySQL, so please go easy on me!
The following is a simple PHP script to connect to my server. The MySQL service is running. The first echo statement displays, but the second one never displays. To me it implies that my connection to the database server is hanging, but I'm not sure what to look at. I don't even get an error, it just displays the first message and the second message never appears.
<html>
<head><title>Cr eate Database and table</title></head>
<body>
<?php
echo "Before";
$linkID = mysql_connect(" localhost","mar tin","martin") ;
echo "After";
?>
</body>
</html>
Comment