Search the Community
Showing results for tags 'if &&'.
Found 1 result
Hi. ok ive been working for about 2 hours on 2 lines that for some reason doesnt work. i have a form with 2 inputs: order# and phone#. when user press submit i want it to search the DB. if he entered both phone# and order# the query will be other than if he entered only one of them. so actually i have 4 cases. 1: user submitted without phone# and without order# 2: user submitted with phone# but without order# 3: user submitted without phone# but with order# 4: user submitted with both. can someone help me with the syntax? ive been working on it for freaking hours and it doesnt seem to work.