Problem with PARSE ERROR
| From: | Nicolas Llamosas | Date: | Mon, 19 Nov 2001 22:26:44 +0000 |
| Subject: | Problem with PARSE ERROR | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75160@lists.php.net to get a copy of this message | ||
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:
<?php
line 21à $link = mysql_connect ("localhost", "my_user", "my_pass") {
or die ("Could not connect");
}
print ("Connected successfully");
mysql_close ($link);
?>
I read the php manual and the mysql manual, but I can’t find the solution.
My server run under w98. (I installed the php triad)
Thank you
Nicolás Llamosas – Rio Cuarto, Argentina -
_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp