Hi folks,
I'm currently trying to think myself into writing php scripts.
The current "task" ahead of me should be easy for you to solve ;-)
Question is:
I got an input box where someone can enter some text.
The input is being assigned to a variable. Now what I'd like to to is to check if the input contains a certain string and if that's the case perform certain actions ...
e.G. the script is supposed to check for the word "carmel" so that if someone enters "The carmel-mountain" the script recognizes the string "carmel" has been entered and performs certain actions ..
How can I do this ?
Regards
Thomas
I'm currently trying to think myself into writing php scripts.
The current "task" ahead of me should be easy for you to solve ;-)
Question is:
I got an input box where someone can enter some text.
The input is being assigned to a variable. Now what I'd like to to is to check if the input contains a certain string and if that's the case perform certain actions ...
e.G. the script is supposed to check for the word "carmel" so that if someone enters "The carmel-mountain" the script recognizes the string "carmel" has been entered and performs certain actions ..
How can I do this ?
Regards
Thomas