Want php code for sorting data
Moderator: General Moderators
-
php000developer
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 25, 2008 6:24 am
Want php code for sorting data
Hello Friends, i need php codes for sorting the data in alphabetical order. Can anyone help me! I am making a database management website and i want that whenever i click on sorting option data should come in an ordered mannar or data should be recorded in an ordered way and whenever i fetch data, it should come in alphabetical order. Please help me!
-
Amit Rathi
- Forum Newbie
- Posts: 7
- Joined: Fri Jul 25, 2008 6:17 am
- Location: India
Re: Want php code for sorting data
If you are using database. You can sort data with database query;
Or you can sort data using php array method.
Or you can sort data using php array method.
Re: Want php code for sorting data
Deleted up on request.
Last edited by coder500 on Mon Jul 28, 2008 10:24 am, edited 1 time in total.
-
php000developer
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 25, 2008 6:24 am
Re: Want php code for sorting data
All doubts are clear now. Thanks for this help and this thread. Thanks again!coder500 wrote:You can use ORDER By statement.
See this thread : http://www.worth2read.org/forum/viewtopic.php?t=6
If you have any doubts let me know...
Thanks
Re: Want php code for sorting data
Coder500 ... Using this forum to seed your own ... so not cool. 