Search problem

admin

Administrator
Staff member
Bin: (text box here)
Row: (text box here)

Right now to search, I have it where you fill in both of the text boxes. This works fine.

Part of the PHP is of course:
WHERE bin = $bininput AND row = $rowinput

How would I go about making it where you didn't have to fill in both text boxes, and one could be left blank? Obviously if it's left blank right now, it's searching for a blank space..... So nothing is returned.
 
Back
Top