Anyone willing to help me? Thanks.
The line 18 is:
mysql_connect("localhost",user,rich); @mysql_select_db("public");
The error message when I connect from IE.
Parse error: parse error in /home/user/public_html/login.php on line 18
Hey, Try to give username and password in "" .
mysql_connect("localhost","user","rich"); @mysql_select_db("public");
hey ,
one more thing to do remove @ sign form the line @mysql_select_db("public");
only do code as below $db="public"; mysql_select_db($db) or die ("could not select database");
try out this
still the same error. 🙁
$connection=mysql_connect("localhost","user","rich"); mysql_select_db("public");