PHP Challenge 5 - Rearranging Letters into Alphabetical Order

phplogo.jpg

This should be a fairly simple task to complete.

Allow the user to enter a word via a form.

Take the letters from the word and rearrange each letter into alphabetical order.

e.g. If the user enters the word BANANAS then the returned string would be AAABNNS

Would you like the solution to this challenge?

The full video solution together with downloadable code is available in the PHP for Beginners course.

This course is taught by Patrick Morrow, a national award-winning teacher, who is very active in the course and who provides full support.

To enrol in the course click here.