|
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 'OR to_user=) AND gig_id=' at line 1
select AVG(buy_rating) as buy_rating from gig_order_rating where (from_user= OR to_user=) AND gig_id=
Filename: helpers/custom_helper.php
Line Number: 1009