select * from `units` where `price` BETWEEN $a4 and $a5 and `citye` like '$a1' and `type1e` like '$a2' and `type2e` like '$a3'
والنتيجة بتطلع كده
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 and `citye` like '' and `type1e` like '' and `type2e` like ''
انا فاهم ان المشكله فى between
لان اللى بعدها من غير اقواس بس لانها ارقام ولما بحط الاقواس النتائج بتطلع غلط لانه بيعتبرها مش ارقام فما الحل؟؟؟؟؟؟؟؟؟؟
__DEFINE_LIKE_SHARE__