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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Mysqli insert doesn't work

Thread began 4/28/2015 9:58 am by laboy390110 | Last modified 5/04/2015 7:58 pm by Ray Borduin | 856 views | 7 replies |

laboy390110

Mysqli insert doesn't work

Please advice... Have latest version installed.

Attached Files
Untitled-1.php
Sign in to reply to this post

Ray BorduinWebAssist

It looks like it would work. Do you get any error messages? If you send me ftp information and a sample url where I can view the problem I can debug it.

Sign in to reply to this post

laboy390110

Found the problem! This is an old database given by our customer. My guess is that is not supported by mysqli. Just created a new one and everything works fine. Strange though, that "insert" was the only behavior that was inoperative. Thanks for your assistance.

Sign in to reply to this post

Steve

It would be helpful to know what difference there is in the older DB as I am seeing this same case today.

Prior Data Assist DB Inserts work fine, MySQLi insert fail without error and even process to the final redirect.

Sign in to reply to this post

Ray BorduinWebAssist

If you give me contact information in the private area of a reply I'll debug this with you. I'm interested to know the cause myself and we may be able to make an update to fix it.

Sign in to reply to this post

Steve

Details provided

Attached Files
queryobj.php
rsobj.php
test.php
Sign in to reply to this post

Steve

Delete does not work either.

Passing the URL Query id no problem but nothing happens.

I tried to debug the query like we can do on the other MySQLi methods but this did not seem to work...

if ("" == "") {
$DeleteQuery = new WA_MySQLi_Query($wildwater_i);
$DeleteQuery->setQuery("DELETE FROM tblrentals WHERE rtlId = ?");
$DeleteQuery->bindParam("i","".($_GET['Id']) ."");
echo $DeleteQuery->debugSQL();
exit;
$DeleteQuery->execute();
$DeleteGoTo = "rentals_list.php";
if (function_exists("rel2abs")) $DeleteGoTo = $DeleteGoTo?rel2abs($DeleteGoTo,dirname(__FILE__)):"";
$DeleteQuery->redirect($DeleteGoTo);
}
Sign in to reply to this post

Ray BorduinWebAssist

We looked into this in a screen sharing session and there were no issues with the extensions. The insert page had action="post" instead of method="post" and the delete page was passing the parameter "id" but deleting the record with "Id", so no record was deleted.

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