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

Recommended Answers

All 5 Replies

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

Sorry I did not get u

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 for diafol

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.