01.12.2010, 21:03
Not sure what's the issue there, are you sure the right database is selected, containing the right tables? It's probably good practice to put the table name in backquotes too.
It might be having a problem with the syntax, try enabling MySQL logging and check mysql_log.txt when the crash happens, it should provide much more detailed information on the problem
pawn Код:
mysql_query("SELECT * FROM `Bans`");