close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

mysqli insert record returns "There is an error in your SQL syntax."

Thread began 2/12/2015 3:29 pm by markhaynes75235 | Last modified 2/13/2015 12:16 pm by markhaynes75235 | 2919 views | 6 replies


mysqli insert record returns "There is an error in your SQL syntax."

I've got a prototype website that I'm working on. I'll send the URL in a private message. The home page has a Contact form in a mega menu that uses an AJAX Contact Form I got from Code Canyon @ (I was unable to get Universal Email to work with a form in the MegaMenu layout, so I used the AJAX Contact Form instead. The form action posts to a contact.php page, and was working fine before I inserted the WA MySQLi Insert Record Server Behavior. When I apply the MySQLi Insert Record Server Behavior usng WA Form Data to enable accessing the external form on the megamenu on the contact.php page, then upload the files to my server (including the queryobj.php) on testing the contact form I get "There is an error in your SQL syntax" message, nothing else. I've attached the contact.php privately.

Thanks for your help as always

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...