I have a script, which i've used successfully in the past, that is giving me an error this time out. It allows you to search multiple categories for what you are looking for. In the case of this code, it works for 4 of the 5 seaches. Here's is the basic db design:
Here is the error message i'm getting:
And finally, the entire code script:
id int(11)
at int(11)
vendor varchar(60)
actpn varchar(10)
part varchar(30)
desc varchar(200)
Here is the error message i'm getting:
You have an error in your SQL syntax near 'desc LIKE '%blah%' ORDER BY id' at line 3
Couldn't execute query: SELECT * FROM atminv_item WHERE desc LIKE '%blah%' ORDER BY id
And finally, the entire code script:
