:) You are welcome!

Oh, it's good to see that other people make silly mistakes as well! ;-)

Thanks, Nav! I've learned here too!

here is the full error message

MySQL Error: 1064 // You have an error in your SQL syntax near '' at line 1

This sounds like a similar problem that I was having when trying to submit data on a static page in my site.

I got the same error message and after numerous attempts at fixing the problem I found out that it had to do with a "'" (apostrophe) in a couple of my lines of text. Once I removed them I was able to get a clean submission with no errors.

Be a part of the DaniWeb community

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