Study PHP Arrays in http://www.w3schools.com/php/php_arrays.asp
Activity #4
Problem:
Write a Web App to accept a string input (sentence) using a <textarea> element. During form submission, store each word of the sentence in an array named $words[].
Sample Output:
Web Interface
Enter a sentence:
Result: Each word will be stored as element in the array.
words
What | did | the | fox | say? | Ting | ting | ting | ting... |
No comments:
Post a Comment