PHP Challenge 5 - Rearranging Letters into Alphabetical Order

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.

For more information click here.

Comments

Your email address will not be published.

PHP for Beginners

Enrol in the full course here

PHP, MySQL and PDO

Coming soon, a full course on using PHP, MySQL and PDO. Be notified as soon as the course goes live.