PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
hward
Forum Contributor
Posts: 107 Joined: Mon Apr 19, 2004 6:19 pm
Post
by hward » Wed Apr 21, 2004 6:29 pm
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
Unipus
Forum Contributor
Posts: 409 Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA
Post
by Unipus » Wed Apr 21, 2004 6:30 pm
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.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Apr 21, 2004 6:34 pm
I'm guessing..... off-by-one error.