Notice: Undefined offset: 0 in /home/webarq/public_html/__app/classes/controller/site/collective.php on line 239

Notice: Undefined offset: 0 in /home/webarq/public_html/__app/classes/controller/site/collective.php on line 243

Notice: Undefined offset: 0 in /home/webarq/public_html/__app/classes/controller/site/collective.php on line 247

Notice: Undefined offset: 0 in /home/webarq/public_html/__app/classes/controller/site/collective.php on line 251
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 3' at line 1

SELECT id_pro AS id_blog,pro_name AS title,`date`,url,thumb,content, 'projects' AS `blog_name` FROM project WHERE id_catpro= ORDER BY RAND() LIMIT 3