Hutchins, Richard said:
> Two things:
> First, a copy of your code would help, with line 156 clearly identified.
[...more code goes here...]
$query .= $and;
$result = @mysql_query($query)
or die("Game ID: " . mysql_error());
$i = 0;
while($row = @mysql_fetch_row($result))
$game_id[$i] = $row;
if($game_id && $def_id)
if($choice == 1)
frontsDnDst($script, $game_id, $def_id); /*user defined
are included in an include file at the beginning of the script*/
elseif($choice == 2)
coversDnDst($script, $game_id, $def_id);
elseif($choice == 3)
frontCoverDnDst($script, $game_id, $def_id);
echo "<br/><br/>Sorry, no matching results found.<br/>";
echo "<br/><A HREF='erase.php'>[Zurück]</a>";
[more code goes here...]
> Second, usually there's more information with the parse error. Something
> like "expected ',' or ';'" that will give you more of a hint. Although,
That's all there is. And I have had the ones you are talking about. But
not this time.
> not sure if the PHP.INI file has a setting for displaying that
> At the very least, the code though.
>> -----Original Message-----
>> From: Sebastian Haag [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, September 03, 2003 4:12 PM
>> To: [EMAIL PROTECTED]
>> Subject: [PHP-DB] Browser-Trouble with Query
>> Hi everyone,
>> I have trouble with a PHP-script querying a MySQL-database.
>> Actually my
>> Opera-Browser has trouble (version 7.11 on a Win2000
>> machine). It outputs
>> a parse error when i enter that page.
>> Parse error: parse error in /var/www/mypage.php on line 156
>> After checking all parenthesis over and over, I decided to
>> enter that page
>> with the InternetExplorer (version 5.50). And it worked.
>> What gives me a headache is that I tried commenting out that
>> specific part
>> of the script. Still parse error on the same line. I inserted
>> a bunch of
>> empty lines around line # 156 and I still got the same error
>> at the same
>> I don't have any more ideas. I hope you may have a hint.
>> Thank you very much. I appreciate your help!
>> Greetings, Sebastian
>> P.S. PHP version 4.1.2
>> Once a problem is defined - it is half way solved. (Henry Ford)
>> PHP Database Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Once a problem is defined - it is half way solved. (Henry Ford)
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php