This is the code I'm using to display from my table
("SELECT vmplay_videos.id, vmplay_videos.artistid, vmplay_artists.artistfirst, vmplay_artists.artistlast, vmplay_videos.songname FROM vmplay_artists, vmplay_videos WHERE vmplay_artists.id = vmplay_videos.artistid and videoactive = 'yes' ORDER BY RAND( NOW( ) ) LIMIT 5 ");
But is there anyway of only displaying 5 records of based on only one specific 'artisitid' but it being random
So for example.
The php calls from the table selects a specific id and only shows 5 records based on the id it has just randomly selected?