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

DataAssist Not Inserting / Updating to Database

Thread began 2/27/2013 7:41 pm by Codesnap | Last modified 2/28/2013 12:50 am by Codesnap | 553 views | 3 replies

Codesnap

DataAssist Not Inserting / Updating to Database

I've been having some ongoing issues with the DataAssist system not writing information to my database. Instead of trying to work out what is wrong with my existing website I thought I'd set up a temporary server and set up a basic system just as a working example. Then I could work my way through my other website to work out why it's not working.

However even this basic test site doesn't want to work. Everything I've set up is "out of the box" but for some reason it doesn't want to write using the

If I change ...

// WA DataAssist Insert
if (isset($_POST["Insert"]) || isset($_POST["Insert_x"])) // Trigger
{

... to ...

// WA DataAssist Insert
if ($_SERVER["REQUEST_METHOD"] == "POST") // Trigger
{

... on the insert page (and the appropriate variation on that for the update page) it works fine, but I don't want to do that. Seems to defeat the purpose of using DataAssist to create these pages if I need to tweak it like the above. I just want to work out why this isn't working like it should.

I'm attaching a file that has everything except the connection file. Includes the SQL file if you need it too.

I'd like to think I've done something wrong, but what I've done is a basic procedure with no tweaking of code.

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