i got:
peter
john
now i insert an entry,it looks like
peter
john
tom
I want it like
tom
peter
john
Every time i insert an entry it goes to top not bottom or make it displayed that way
How to INSERT entry from top to bottom?
Moderator: General Moderators
How to INSERT entry from top to bottom?
Last edited by shou0630 on Sun Nov 29, 2009 3:02 pm, edited 1 time in total.
Re: How to INSERT entry from top to bottom?
Hmm secretive... lol Any chance of more information? Where are you looking to display the entries? Is this in a database manager (such as PHPMyAdmin) or are you fetching the data to the screen. Also, what determines the last entry? Is there a timestamp or id?shou0630 wrote:I want the last entry on top,OR displayed as last entry on top,how i do that?
You should take a look at this comparison of array sorting functions.