Re: SQL query isn't executing... grr!

From: Date: Wed, 07 Nov 2001 17:26:16 +0000
Subject: Re: SQL query isn't executing... grr!
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-10274@lists.php.net to get a copy of this message
At 10:53 AM 11/7/2001 -0600, you wrote:
Well Julie... I am able to connect to the database, but when I use this line I get a parse error: $connection = @mysql_connect("localhost", "admin", "lck77")or die("Could not Connect.");
It doesn't look like there's a space between the close-parentheses of the mysql_connect function and the OR. This is all basic debugging -- you've limited the problem to one line, now you go through the line looking for problems. As far as I can tell the problem is the lack of space between the mysql_connect(...) and the 'or'. -Mike

« previous php.windows (#10274) next »