Hi everyone,
i have two little issues,
1. hv got a table with
ID| USER | COUNTRY | DATE | TIME |ect
I querry sql to get list of country to display in a drop down(to be selected later on), so far it's okay but the problem is that i have 6,15, or 20 times same country if there is 20,15,6 users from that country, what i want to do is get only 1 and this regarless of the number of entry for that country, can't figure out what the SQL querry should be. i try group id by hash but no success.
2. Need to display result just before the last result.
i fetch result from sql ORDER BY id DESC, so far it's okay, but what i need is just before the last result, e.g if there is 30 i need 29, 100 i need 99, etc
can you give me an idea how to handle that?
Thanks for your help
Nitro