Table 'db_trash.videos' doesn't exist
SELECT * FROM
videos AS v, rubriques AS r, rubriques_videos AS rv
WHERE
rv.fk_rubrique=r.id_rubrique AND
rv.fk_video=v.id_video AND
r.actif_rubrique=1
GROUP BY
v.id_video
ORDER BY
RAND()
LIMIT
0, 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/sexandtrash.com/www/class/ban_manager.class.php on line 219