Hello,
I have figured some more out and am quite happy with the results. I have a question that may solve this problem.
What code would I use to specify a certain range of answers? For example, I have the following code:
<?php
if ($answer=="Alabama, Before 1995, Under $20K, Leased, Rent, Yes, Yes, Under $30K, No, $0 - $5K")
echo "You should consider getting $100000K in coverage";
elseif ($answer=="Alabama, Before 1995, Under $20K, Leased, Rent, Yes, No, Under $30K, No, $0 - $5K")
echo "You should consider getting $2000000 in coverage";
else
echo "Nothing here";
?>
But what if I want to do this? Bold highlighted is the change.
<?php
if ($answer=="Alabama, From Before 1995 To 2005 (a range of potential selections that user may have chosen), Under $20K, Leased, Rent, Yes, Yes, Under $30K, No, $0 - $5K")
echo "You should consider getting $100000K in coverage";
elseif ($answer=="Alabama, Before 1995, Under $20K, Leased, Rent, Yes, No, Under $30K, No, $0 - $5K")
echo "You should consider getting $2000000 in coverage";
else
echo "Nothing here";
?>
What exactly is the code to specify a range of options?