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__);