Wednesday, November 26, 2014

COMPRO8 Activity #4

Things That Needs To Be Done Today
 
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
Whatdidthefoxsay?Tingtingtingting...