how to display order from 1 to 10 using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
manohar
Forum Newbie
Posts: 10
Joined: Thu Jun 26, 2008 10:49 am

how to display order from 1 to 10 using php

Post by manohar »

I want to display number from 1 to 10 if i want to edit the number i need to change order in 1 to 10 list
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: how to display order from 1 to 10 using php

Post by omniuni »

If you ONLY need 10 things stored in an order (I'm guessing a bit here)

You can try storing them in an array, with index values 1-10, and serialize them for later retrieval. Other than that, I'd need some more information on what you want to do.
Post Reply