View Single Post
Old 08-24-2007, 10:11 AM   #3
nanny
 
Join Date: Apr 2006
Posts: 290
Default

I got it working I simply had the unset session attached and for some reason it wouldn't work, so I removed it.
I am needing to however match two items in the database.
i can check them individually before continueing on with the session but I have found that I really need to check both match the same id
I am checking for a business name and a telephone number.
If someone gives a business name from id number 4 and a telephone number from id number 6 the session still continues because it starts from the business name.
How to repair this fault, should I do a session array or use
Code:
if ($_POST['businessname'] && $_POST['tel'] == $_POST['id']) { unset $error array() };
Not sure if I am doing this right. I tend to complicate things sometimes, but I am willing to learn...
nanny is offline   Reply With Quote