Hey all,
I am new to this forum and brand new to php, never worked with it before.
I am trying to write a script that takes in 5 words from the user via a text box and then prints them out in reverse order. Also, I want to validate the input to make sure that only letters were provided as input - no numbers or characters (i.e. 1 2 3 & ! # + \ etc.).
So, if one two three four five was entered.....five four three two one would be printed.
Anyone have any tips they could offer a newb as to how to accomplish this? I've been browsing around the web for awhile now and haven't found anything that helps me out - everything I've come across thus far has been for more advanced scripts Hoping one of you knowledgeable folk can give me some more effective input!
Thanks!