Hi all.
I am struggling with a query. Please can you help?
Variables are passed to a query from select options in a html form, ie:
select * from table where column1 ='variable1' and column2 ='variable2' etc
Now this works fine, but I want to add an option that returns all the values from a given column, eg:
select * from table where column1 ='All Values' and column2 ='variable2' etc
I hope I have explained this ok. Can anyone advise me?
Thanks.
I am struggling with a query. Please can you help?
Variables are passed to a query from select options in a html form, ie:
select * from table where column1 ='variable1' and column2 ='variable2' etc
Now this works fine, but I want to add an option that returns all the values from a given column, eg:
select * from table where column1 ='All Values' and column2 ='variable2' etc
I hope I have explained this ok. Can anyone advise me?
Thanks.