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

The latest Dremweaver update breaks Bindings and Database Connectivity

Thread began 4/27/2017 4:33 pm by Ray Borduin | Last modified 2/21/2018 1:10 pm by Ray Borduin | 195431 views | 166 replies

Ian Sheldon

Seems have done the trick with the bindings Ray, thank you! But... a new issue that I've just spent 3 hours pulling my hair out over.

I have a page with a mysqli insert behaviour in it. It's been working fine, and today I just decided to test the site build so far. The signup page (insert behaviour) wasn't writing anything to the database but the redirect to the next page from within the behaviour was working fine.

I've uninstalled the extensions and reinstalled both the latest versions of mySQLi and Data Assist. I've changed my form settings and removed bindings to see if there was a problem with one of the form fields and its contents going to the database.

I thought it might have been some code I had updated elsewhere that had caused a knock on effect so spent a lot of time trying to get to the bottom of it. In the end, I decide to go to another site where I had old copies of the WA mysqli files, queryobj.php (v1.5) and rsobj.php (v2.18) and replaced the ones created by the latest mysqli version. Problem fixed.

This is the generated insert code that works with the above versions but not with the latest.

if (isset($_POST["btn_submit"]) || isset($_POST["btn_submit_x"])) {
$InsertQuery = new WA_MySQLi_Query($connectionname);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "dbo_patient";
$InsertQuery->bindColumn("patient_firstname", "s", "".(((isset($_POST["firstname"]))?$_POST["firstname"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_surname", "s", "".(((isset($_POST["surname"]))?$_POST["surname"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_email", "s", "".(((isset($_POST["email"]))?$_POST["email"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_password", "s", "".$pwd ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_phone", "s", "".(((isset($_POST["phone"]))?$_POST["phone"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_offers", "c", "".(((isset($_POST["offers"]))?$_POST["offers"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_verified", "i", "0", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_address1", "s", "".(((isset($_POST["address1"]))?$_POST["address1"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_address2", "s", "".(((isset($_POST["address2"]))?$_POST["address2"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_address3", "s", "".(((isset($_POST["address3"]))?$_POST["address3"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_address4", "s", "".(((isset($_POST["address4"]))?$_POST["address4"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_address5", "s", "".(((isset($_POST["address5"]))?$_POST["address5"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_zip", "s", "".(((isset($_POST["zip"]))?$_POST["zip"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_longitude", "s", "".$longitude ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_latitude", "s", "".$latitude ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_signupcode", "s", "".$salt ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_subscribed", "c", "".(((isset($_POST["offers"]))?$_POST["offers"]:"")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("patient_passcode", "s", "".$salt ."", "WA_DEFAULT");
$InsertGoTo = "php/_processnew_pat.php";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";

So, it looks like there could be a problem with the code in the new version that is stopping the information being written to the database?


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