Sunamena Posted October 23, 2015 Share Posted October 23, 2015 Hello everyone!One of my co-students wanted to create an alphabethic list. This seems to me not possible in HTML, but possible in PHP. How would i say that an HTML list should be in Alphabethic order? Thanks in advance! =D Link to comment Share on other sites More sharing options...
justsomeguy Posted October 23, 2015 Share Posted October 23, 2015 PHP has several functions to sort arrays of data. Javascript can also sort an array. So, first you need to get your content in an array. Link to comment Share on other sites More sharing options...
csspest Posted October 26, 2015 Share Posted October 26, 2015 You could create an alphabetic list in HTML but it would have to be sorted manually by you as you wrote the HTML code and it wouldn't have any facility to be automatically updated Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now