Jump to content

Show top ten songs (according to hits) but in random order


stelhar_1999

Recommended Posts

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!!!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.