Page 2 of 2

Posted: Wed Apr 21, 2004 6:29 pm
by hward
i was wrong mine was returning error on both a good search and bad search and so is if ($what_stock != $stock_num)

so with the ! in there it sends you to the error page all the time

Posted: Wed Apr 21, 2004 6:30 pm
by Unipus
Well, it should work, so you need to check your values and see what's being returned. It's probably different than what you're expecting.

Posted: Wed Apr 21, 2004 6:34 pm
by feyd
I'm guessing..... off-by-one error.