I have this error
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
and I don't know how does this happen because whenever I check the SQL that I have made including the inserted data, it shows no error..

How does this happen..

Need Help..

Thanks

Are you including variables in your string? Syntax errors are easy to get if you don't watch your spaces and accidentally concatenate some text together.
Of course, you haven't posted up your SQL query so we can't give you very accurate advice.

Are you including variables in your string? Syntax errors are easy to get if you don't watch your spaces and accidentally concatenate some text together.
Of course, you haven't posted up your SQL query so we can't give you very accurate advice.

I have a wrong SQL query in the program, I have found it and now it works..

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.