hi
a have this code
$link = mysql_pconnect ("localhost", "sa", "sa") {
or die ("Could not connect");
}
and i receive
Parse error: parse error in c:\htdocs\otra.php on line 2
and rewrite the code like this
if (!$link = mysql_pconnect ("localhost", "sa", "sa")) {
echo "Could not connect";
}
and work
what's wrong???
regards
RAM
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
