right i have a mysql query which 'selects all fields from 'features' order by 'id' desc'
that works fine and everything and i have a while loop which keepes looping and gets all data and echos it.
how would i go about getting and disaplying only 3 sets of data as opposided to all the data?
so instead of ID1, ID2, ID3.......ID44, ID45. i jsut print out the last 3, i.e ID43, ID44, ID45.
would i need to do a different loop?
while loop help!
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users