George B wrote:
I am trying to connect to a datbase:
"
mysql_select_db ('database')
or die ("couldnt connect to databse")
"
What is wrong here?
This is the error:
Parse error: syntax error, unexpected T_STRING in file name on line 12
this code works though
$db = mysql_connect("localhost",
George B wrote:
George B wrote:
I am trying to connect to a datbase:
"
mysql_select_db ('database')
or die ("couldnt connect to databse")
"
What is wrong here?
This is the error:
Parse error: syntax error, unexpected T_STRING in file name on line 12
this code works though
the semicolo
2 matches
Mail list logo