I am having a little buit of a problem here. I am trying to go through a returned string to see if any of the returned values equal a submitted string.
First: The user goes to a page where he/she submits the state in which she is located along with the name of a company.
Second: The next page opens a connectino to the database and selects the name of a company(based on what she submitted), the insurance plan from that company and the states where it(plan) is not offered.
The returned string that I am trying to check through would look like:
$row[state] = "VA MT HI PA NY NJ";
I need to go through that to check and see if any of the states equal the submitted value from the user(lets say VA), which means that all plans with VA in the string will not print.
Hope you can help!!!