damon2003
12-02-2003, 05:37 AM
Hi,
I have several textfields on a page where the user enters a product code number.On submit, the coresponding preducts are displayed on the next page. The SQL statement is straight forward: SELECT * FROM TABLE WHERE X = text1 OR X = TEXT2 ect.
At the moment, if the user enters 2 identical codes in 2 of the textfields, only one of these products will be dispayed on the next page. What I actually want is to display 2 of the same products if the user enters 2 identical codes,
how can this be done?
thanks a lot
I have several textfields on a page where the user enters a product code number.On submit, the coresponding preducts are displayed on the next page. The SQL statement is straight forward: SELECT * FROM TABLE WHERE X = text1 OR X = TEXT2 ect.
At the moment, if the user enters 2 identical codes in 2 of the textfields, only one of these products will be dispayed on the next page. What I actually want is to display 2 of the same products if the user enters 2 identical codes,
how can this be done?
thanks a lot