Your Ad Here
Celebrity Photo Battle
Why just look at Celebrity Photos when you can vote for your favorite?
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 photos.*,celebs.Name FROM photos INNER JOIN celebs ON photos.CID = celebs.CID WHERE Approved = 1 AND Nudity=0 AND (photos.CID != ) ORDER BY Rand() LIMIT 1