bganonymous
Registered
Имам проблем! Това е заявката ми. Изглежда правилно, но получавам грешка... 
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 ' `type` = 'a' AND `password` = '123456'' at line 1
Код:
$check_it = mysql_query("SELECT * FROM `passwords` WHERE `class` = '$get_class', `type` = '$get_type' AND `password` = '$password'") or die(mysql_error());