Hello, I need a query. i could not figure it out how to do. I need to display the most visited videos in category 4,5 and 6. I can display the most visited ones on category 4 doing by $sql = "select uniq_id, artist, video_title, yt_views, site_views, added FROM pm_videos WHERE category='4' ORDER BY yt_views DESC LIMIT 50" ; PHP: So instead of category 4, how can i do category 4,5 and 6 Thanks
$sql = "select uniq_id, artist, video_title, yt_views, site_views, added FROM pm_videos WHERE category='4' OR category='5' OR category='6' ORDER BY yt_views DESC LIMIT 50"; Code (php): ^Should be fine.