Re: [PHP] Problem with PARSE ERROR

2001-11-19 Thread Brian Clark
Hi Nicolas, @ 5:26:44 PM on 11/19/2001, Nicolas Llamosas wrote: NL> line 21à$link = mysql_connect ("localhost", "my_user", "my_pass") { NL> or die ("Could not connect"); NL> } NL> print ("Connected successfully"); NL> mysql_close ($link); You want: $link = mysql_connect ("localhost", "

[PHP] Problem with PARSE ERROR

2001-11-19 Thread Nicolas Llamosas
My browser show the message “Parse error: parse error in C:\apache\htdocs\prueba\prueba.php on line 21” when i try to connect to a mysql server (v.3.23) using the follow syntax: I read the php manual and the mysql manual, but I can’t find the solution. My server run under w98. (I installed t