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

rating

There is an error in your SQL syntax issue: No Records Insert into database

Thread began 8/23/2019 1:43 pm by anonymous | Last modified 4/03/2020 1:07 pm by Ray Borduin | 117 views | 8 replies |

anonymous

There is an error in your SQL syntax issue: No Records Insert into database

I keep getting this error: There is an error in your SQL syntax. with no further info. Just have a white screen and no records are inserted into the database. I have googled and checked for common errors that cause this but, can't seem to locate the problem. Any help would be appreciated.

Checked all my queries in PHPMyadmin and they all returned records. Checked for reserved words.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the page instead of using copy/paste. That way I can open it directly in dreamweaver to investigate issues.

If you turn on Debug in the queryobj.php and rsobj.php files you should be able to see the full error instead of the simple message shown by default.

Just open up those files and look for the line:

->Debug = false;

and change it to:

->Debug = true;

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

queryolb.php?

oh, boy. I don't even know enough to know what that means :(

Sign in to reply to this post

anonymous

Same issue

I have this exact same issue. Plus, when I try to upload pictures, it just shows me my picture with no button to continue or do anything. I wonder if these problems are connected?

Originally Said By: anonymous
  I keep getting this error: There is an error in your SQL syntax. with no further info. Just have a white screen and no records are inserted into the database. I have googled and checked for common errors that cause this but, can't seem to locate the problem. Any help would be appreciated.

Checked all my queries in PHPMyadmin and they all returned records. Checked for reserved words.  
Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure what you are referring to. Please attach a copy of the page you are working on and I can take a look at the code to see if I can spot the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

The result is really Basic and stupid mistake: if you have space in your database name then steam id use "BackTicks" or just remove spaces by adding "_" instead or just don't have spaces in your database names.

Sign in to reply to this post

Jonas

I have the same problem. I got the error: "There is an error in your SQL-syntax" on my update-page. I have no space in the database name.

Attached Files
Bokning_update.php
Sign in to reply to this post

Ray BorduinWebAssist

Open your rsobj.php file and your queryobj.php file and turn on debug. Then it will give you a better error that might help you determine the cause.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

Thanks Ray!

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...