I'm getting the following error when I add the product through Admin panel

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1,'' )' at line 1

What about you post the query that contains the error? ;)

Can you show us the query that contains the error?

That short little snippet that you pasted in looks like you have the comma inside the quotes, which won't work.

Like minitaurus said, post your code for a better response.

Member Avatar

Have a think about what you're actually asking for and read this: http://bit.ly/Dwebphp