Dynadot โ€” .com Registration $8.99

Some Help please

Spaceship Spaceship
Watch

Gandhi

Established Member
Impact
47
Hey, well the servers where my arcade site is hosted was down for a week, I have no idea why. Then now that its back up, when I click a category like shooting, action I get an error http://flashfungames.org/index.php?action=category&id=1&page=0&order2=game_name&sby=ASC

anyone know what that error is, or how I can fix it thanks.


THen I know the site looks messed up, but thats because the site was down, my coder, hasnt gotten a chance to fix the bugs.

Thanks in advance.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Can you post the line that the error comes from [and some more lines around it; above and below]?
 
0
•••
Thanks, THis is line 127
Code:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"0"; }
and those are some lines below and above it



Code:
if (isset($page)) { 

$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"0"; }
if (!isset($page)) { 
if($seo_support == "1"){ echo "<a href=./cat-$id-p1.html>Next Page --></a>";} else { echo "<a href=./index.php?action=category&id=$id&page=1&order2=game_name&sby=ASC>Next Page --></a>"; }
}

if (isset($page)) {
 
0
•••
It looks like some of the code in that line was cut off.
The query doesn't have a ) and I don't know how that scripts categories work.
Try changing line 127 to:
PHP:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"); }
If that doesn't work, try:
PHP:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i0"); }
 
1
•••
The first one worked, thanks a lot Dan, really appreciate it
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back