I made a form and all works well, but in the form I have an input for cost. what it does now is if the user (me) put the word "Warranty" in for this line it gives me the option to fill out a warranty sheet.
What I need to do is make it where if the word warranty is anywhere in what I enter here it will give me the option instead of just when it is an exact match.
for instance:
cost: Warranty
gives me the option, which is what I thought I wanted when I wrote it.
cost: Parts warranty, Labor $140
Does not give option, but this is what I want to change to make this more functional for my needs.
I know this is a simple answer, but one I don't know, and can't find.
The code I am using now is:
if ($cost=='Warranty')
Thanks,
Steve