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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

can't seem to insert single and multiple entries with DA

Thread began 1/26/2010 6:31 am by sam398359 | Last modified 1/26/2010 2:57 pm by Eric Mittman | 486 views | 1 replies |

sam398359

can't seem to insert single and multiple entries with DA

Hi

As a recent converter from ADDT I am trying to get to grips with DA.

I have followed the guides to insert multiple records and single, but it doesn't seem to be updating the MySQL database at all.

I get no errors and everything seems to work as it should, but the database is always empty.

I know a little bit of PHP and regularly work with code to fix problems, but I don't know what is going on and I don't want to have to customise every time I use WA, when as far as I can work out I am doing everything by the book.

I have attached my example, this was created from scratch following the tutorial. The only difference is that I want the field to repeat based on a number pulled from another table, this is working fine.

Any help would be appreciated, am I supposed to point the form somewhere?

Regards

Sam

Attached Files
multi.php.zip
Sign in to reply to this post

Eric Mittman

In general things look ok but I can see where there might be some problems. It looks like your trigger is set to if (isset($_POST[""])) and your submit button does not have a name or id.

You should first update the submit button to have a name and id, then you should update the trigger for the server behavior to be based on the submit button pressed. This should allow the server behavior to be properly triggered and insert the records.

Let us know if you continue to have any problems with this and post back with a sql file for the table structure you are trying to insert into. I can do some testing with this to help determine what the problem may be.

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