WordPress database 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 'order by rand() limit 1' at line 1]
select * from ads_camp_units where camp_id= order by rand() limit 1

WordPress database 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 ' 644595557, '')' at line 1]
insert into ads_logs_camp (time, camp_id,ip,ref) values (1280649353 , , 644595557, '')

WordPress database 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 '' at line 1]
select * from members_meta where user_id=

WordPress database 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 ' 644595557, '', '', '' )' at line 1]
insert into ads_logs_view (time, camp_id,ip,ref,unit_id,unit_type) values (1280649353 , , 644595557, '', '', '' )