Hi all,
I have made a form in PHP where the user can query a mySQL database and the results returned are based on the selections.
On some selections, if the user desires, they can choose 'ANY' from the drop down box. How can I then query this on the results page in PHP?
At the moment the SQL query is for example =
'where variable=querystring' (obviously in proper SQL!)
But if the querystring is blank or 'ANY' then it will not query correctly...
I hope you can understand how I have written this!?
Cheers, Paul