Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/pikablog/porncomments.com/files/content/module.rand-r2.php on line 10
SELECT distinct g.id, g.page_alias, g.page_name, g.page_title, g.href_name, g.href_alt, g.min_price, g.trial, g.multiaccess, g.url, g.description_short, g.image_small, IF (g.voted_count > 0, g.voted_rating / g.voted_count, 0) AS rating, g.fstorage, IF (g.s_time_after = '0000-00-00 00:00:00', g.s_time_created, g.s_time_after) AS _order, IF (g.s_time_after = '0000-00-00 00:00:00', DATE_FORMAT(g.s_time_created,'%Y-%m-%d'), DATE_FORMAT(g.s_time_after,'%Y-%m-%d')) AS publish_date
FROM
asm_review_recs g,
asm_review_joins j
WHERE
g.id = j.id and
j.content_id in ()
ORDER BY RAND()
LIMIT 5
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 5' at line 8
Fatal error: Call to a member function row() on a non-object in /home2/pikablog/porncomments.com/files/content/module.rand-r2.php on line 37