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 '75 AND <=97,75 GROUP BY `user_id` ORDER BY RAND() LIMIT 20) AS tmp WHE' at line 1
Fatal error: Uncaught Error: Call to a member function fetch_field() on null in /home/lesstroy/www/ Stack trace: #0 /home/lesstroy/www/ db->bindResult() #1 /home/lesstroy/www/ db->getRows('id') #2 /home/lesstroy/www/ project->getProjectsForOffers(17) #3 /home/lesstroy/www/ project->getAdsOffers() #4 /home/lesstroy/www/ pageController->userProjectAction('17581', '62312') #5 /home/lesstroy/www/ core->render() #6 {main} thrown in /home/lesstroy/www/ on line 60