|
Posted by Lennart Bjφrk on 11/13/49 11:30
Botan Guner,
I have a similar problem and I use exactly your code
>
//copy paste from php manual
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Not connected : ' . mysql_error());
}
<
and I get
Parse error: parse error, unexpected T_IF in
my program (or your program or the manual's program)
on line
'if (!$link) {'
Something must be wrong in my setup. Can you give me a hint?
Lennart
Navigation:
[Reply to this message]
|