View Single Post
  #14  
Old 26th May 2009, 17:53
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
i got an error first time i tried to login:

Code:
SQL Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '>= first AND <= last' at line 1in /var/www/vhosts/guv2.com/httpdocs/swedvd/login.php, line 31
this is line 31:
PHP Code:
$res mysql_query("SELECT id FROM bans WHERE $nip >= first AND $nip <= last") or sqlerr(__FILE____LINE__); 
Reply With Quote