close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SQL

Thread began 9/19/2014 3:44 pm by anonymous | Last modified 9/19/2014 4:58 pm by anonymous | 739 views | 8 replies |

anonymous

SQL

Hi
I have just purchased the MySQLi extensions and I am struggling to even insert a single database item.
I get an SQL syntax error and by trial and error have narrowed the problem down to the public function declared in the first php code block
$Recordset1->execute();
I know that this is a public function declared in rsobj.php but as I am new to MySQLi, I am at a loss to know what to do.
I am running MAMP
Your help is appreciated.
Kenneth

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

anonymous

Jason
This is all on my local server - none of it is on my public site

Sign in to reply to this post

Jason ByrnesWebAssist

ok, well at the least I Will need to know the exact error message, and have a copy of your page so I can see the code.

please post the full error error exactly as it appears in the browser and attach a copy of the insert page in a zip archive.

Sign in to reply to this post

anonymous

Ok. Thanks. Here they are:
The error message is literally only: Error in SQL syntax

I was trying to add a repeating row but I have stripped all of that out leaving only the seven lines in the header. That's how I narrowed it down to the execute function.

Sign in to reply to this post

Jason ByrnesWebAssist

can you also send an export of the Database table please.

Also, what version of PHP and MySQL are you running on your local server?

Sign in to reply to this post

anonymous

Data attached

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not able to reproduce, is the MySQL Server running?

Please provide a Skype username or a US phone number and a good time to contact you when you will be in front of your computer and we will have an engineer contact you to resolve this issue over the phone.

We are available Monday - Friday from 9am - 4pm EST (except major U.S. holidays

Sign in to reply to this post

anonymous

Thanks Jason.
Yes server is running because when I was preparing the Recordset etc. I was able to see the table I want in 'test'.
My Skype Name is kjrglasgow and I'm in Scotland.
I am available now and at my computer. Otherwise it will be next week. How do I let you know when I am available?

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