Sort textbox values alphabetically
Hi I'm new to PHP and I would like to know how to sort text box values entered by a user alphabetically. Thanks in advance :)
You might want to separate values by using any delimiter. If you want you can store them in database . Once done you can run sql query and use ASC function in the end. This will sort them alphabetically
You can either store them in array or use while loop key in values.
Tell me more about your program or logic if I can be of any help to you.
I am creating a html form and the user has to input values into text boxes but I don't know the values the user is going to enter is it posible to create an array if I an unaware of the values?
|All times are GMT +1. The time now is 09:29 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.