Hello everyone:
Please help me figure out what is wrong with my database connection script. Here it is...the entire file:
<?php
$link = mysql_connect("localhost", "me", "password"); {
or die ("Could not connect... ");
}
print ("Connected successfully... ");
$db = mysql_select_db ("bospace", $link)
or die ("Could not select db... ");
print ("Selected DB successfully... ");
mysql_close ($link);
?>
The result is the following message:
fun2.phtml: parse error, expecting `'('' on line 3
$link = @mysql_connect("localhost", "me", "password"); {
What I am doing wrong? The password and usernames are fine...
-Bo