A very simple tutorial to get you a better understanding of how to use PHP to shuffle words.
text.htm
shuffle.phpCode:<html> <head> <title>Shuffle</title> </head> <body> <form method="post" action="shuffle.php"> <textarea name="words" rows="10" cols="20"></textarea><br> <input type="submit" value="Reverse"> </form> </body> </html>
Example HereCode:<?php /* Shuffle.php */ global $words; $new_word = strrev($words); echo "$new_word"; ?>
Brought To You By PHPMini