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 '&& aid!= && published=1 ORDER BY date0 DESC' at line 1 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /inc/wideo.php on line 94