FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » why do I get a syntax error?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: why do I get a syntax error? [message #180757 is a reply to message #180753] Sat, 16 March 2013 22:31 Go to previous messageGo to previous message
Ralf S. Hellersen is currently offline  Ralf S. Hellersen
Messages: 1
Registered: March 2013
Karma:
Junior Member
Am Sat, 16 Mar 2013 17:32:00 -0400 schrieb richard:

> if (!$con) { die ("can not connect: " . mysql_error()};
>
> generates "Parse error: syntax error, unexpected '}' "
> i have checked for matching brackets and other obvious syntax errors.


There is a ")" missing:
if (!$con) { die ("can not connect: " . mysql_error())};

Regards
Ralf



--
Wegen SPAM: Für e-mail verwenden: "errr" statt "erxr" !
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: change of color on a field value basis in a table...
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 14 07:26:18 GMT 2024

Total time taken to generate the page: 0.04816 seconds