stelhar_1999 Posted July 6, 2007 Share Posted July 6, 2007 let me explain a little, I have a database with songs (about 40 songs) and I count the hits for each one of them e.g. id | songname | hits now i can retrieve the top 10 out of them but I want to display them in random order like title1| 235 title3| 500 title2| 156 any ideas? Thanks!!! Link to comment https://forums.phpfreaks.com/topic/58680-show-top-ten-songs-according-to-hits-but-in-random-order/ Share on other sites More sharing options...
stelhar_1999 Posted July 9, 2007 Author Share Posted July 9, 2007 bump........ Link to comment https://forums.phpfreaks.com/topic/58680-show-top-ten-songs-according-to-hits-but-in-random-order/#findComment-293139 Share on other sites More sharing options...
redarrow Posted July 9, 2007 Share Posted July 9, 2007 use suffle() function ok. Link to comment https://forums.phpfreaks.com/topic/58680-show-top-ten-songs-according-to-hits-but-in-random-order/#findComment-293146 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.