I have to figure out a way to build an sql query with an "AND" clause that will construct the query dynamically based on which of the above fields had data in them?
There is probably an easy way to build the SQL dynamically but i am having trouble finding an easy way to do this.
I will really appreciate an example where you grab from "param("blah")" and build the sql on the fly.
Thank you for all your help.
In reply to Build SQL on the fly from WEB search form by data67
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |