PHP parse error, please help?

light

New member
I'm having trouble with some PHP, the error message im getting is:

Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\own_login\register.php on line 7

the code on lines seven and eight is:

$conn = mysql_connect("localhost","root","")
or die("Could not connect to MySQL")
 
Back
Top