Re: error code

Posted 13 March 2013 - 06:35 AM

In each case you are missing a double-quote ".

Re-writing the expression several times though will not help you to fix it. Stick with one and get the quotes in the right place. If the expression itself is then found to be incorrect then you can work to find the correct expression.

Re: error code

Posted 13 March 2013 - 09:25 PM

The " and products = '" is part of your SQL command, so it needs to be a literal string here. Andrew has given you the answer; I hope you will still go to the trouble of learning how to avoid making that sort of mistake in future.