Jump to content

Top 3 List


mcmuney

Recommended Posts

If I'm displaying a top 25 list of items using LIMIT 0,25, how can I apply a specific identifier to the top 3 items. For example, lets say that for the top 3 I want to show a 1st, 2nd and 3rd IMAGE and the remaining 22 items show nothing, how can I do that.

1 result from db & 1st.gif
2 result from db & 2nd.gif
3 result from db & 3nd.gif
4 result from db
5 result from db
...
25 result from db
Link to comment
https://forums.phpfreaks.com/topic/26398-top-3-list/
Share on other sites

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.