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

My insert behavior is not inserting

Thread began 3/03/2021 7:56 pm by NavyChief | Last modified 3/26/2021 7:24 am by NavyChief | 230 views | 17 replies


Still not working with or without redirect line commented out

Originally Said By: Ray Borduin
  You commented out the redirect... I'd start by removing the comment on line 21 and then updating line 19 to add a url parameter to the redirect. Then you can tell if the redirect happens or not. If the redirect happens then it is trying to insert and it may be failing because of a required field.  

The redirect is not the issue. I commented out the redirect to allow the page to show the results. I tried the code without my debug code and with the insert EXCATLY as normal at it still WILL NOT insert.

Originally Said By: Ray Borduin
  I see you have a form element named date... that might be causing issues since it is a reserved word in mySQL. It is also skipped in the insert, so if it is required in your database that would cause the insert to fail.  

That is skipped because it is a time stamp auto entered by the database that's why it is skipped. After renaming it and using line 21 as uncommented; no insert; then I commented it out and again no insert but the values I posted are all accurate.

Separate note:

All along I have been trying to find the code to show the response from MySQL and no one can tell me and my searches are in vain. There has to be a way to force this php code to tell me the MySQL response.... but I fail to find anything.

Attached Files

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