Error Number: 1064
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 `user_type` = 'web' ORDER BY `sno` DESC LIMIT 1' at line 5
SELECT * FROM `login_details` WHERE `email` IS NULL AND `sno` < AND `user_type` = 'web' ORDER BY `sno` DESC LIMIT 1
Filename: models/Common_model.php
Line Number: 176