Re: Problem with PARSE ERROR

From: Date: Mon, 19 Nov 2001 22:34:54 +0000
Subject: Re: Problem with PARSE ERROR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75164@lists.php.net to get a copy of this message
Hi Nicolas, @ 5:26:44 PM on 11/19/2001, Nicolas Llamosas wrote: NL> line 21à $link = mysql_connect ("localhost", "my_user", NL> "my_pass") { NL> or die ("Could not connect"); NL> } NL> print ("Connected successfully"); NL> mysql_close ($link); You want: $link = mysql_connect ("localhost", "my_user", "my_pass") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); (Lose the curly braces) -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies.

« previous php.general (#75164) next »