masterjake
New Member
- Messages
- 73
- Reaction score
- 0
- Points
- 0
Hey guys,
I'm making a php word scrambler and heres how it works.
A person types all the words they want to scramble into a large textarea text field, separating each word by a comma, and then they press scramble. The php code splits each group of words between a set of commas into a seperate string and then scrambles the new word then converts the comma to a line break "<br>" so that when I display the results it seperates each scrambled word by a line. The only problem is I'm very lost as to how to do this. I know I will need the str_shuffle() function but can someone point out how to do the rest.
I'm making a php word scrambler and heres how it works.
A person types all the words they want to scramble into a large textarea text field, separating each word by a comma, and then they press scramble. The php code splits each group of words between a set of commas into a seperate string and then scrambles the new word then converts the comma to a line break "<br>" so that when I display the results it seperates each scrambled word by a line. The only problem is I'm very lost as to how to do this. I know I will need the str_shuffle() function but can someone point out how to do the rest.