I figured there may be a way of getting the query to recognise that if there were a NULL value or even a value = All then it would treat it the same as SELECT * and ignore the preceding criteria.
Hi folks,
Sorry to be such a pest only days after my last glitch (hard to believe I’ve been writing code for 10 years, must be old age catching up on me at last) was resolved so masterfully on thus forum.
I have a simple form that queries a MySQL db…
<form name="form1" method="POST"...
Hi Justin,
apologies about not using the code tags.
I think you've got something with the 2nd option above.
I'm no longer getting the error, no results are displaying but I'll look into that before panicking again.
Assuming this resolves everything then my thanks to you and Ken and anyone else...
Hi folks,
This is a pathetic one that in all honesty I should be able to figure out (having done so in the past) but my brain is refusing to give up the answers today…..
I have a form into which the user can enter the name of a musical instrument and then submit to query a MySQL database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.