Error SQL:


QUERY:
select * from hotel_ru_pho where check_active=1 and pselect_hotels_1= and pselect_spravka_2=87 order by ord asc
MYSQL 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 'and pselect_spravka_2=87 order by ord asc' at line 1