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


multiple update

Thread began 1/04/2019 10:19 am by Sweens | Last modified 1/04/2019 5:26 pm by Ray Borduin | 20 views | 3 replies |


multiple update

Hi Ray

I continue to have problems updating from mysql to mysqli multiple updates. I have reinstalled DA to ensure it's the current version, but no difference.

The repeat region displays the records properly, but I get the following error after pressing the update button.

Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in /home/sites/ Stack trace: #0 {main} thrown in /home/sites/ on line 65

Page attached.

When applying the multiple update, the following line was added, which I think is wrong, as it relates to the field being updated, not to the id of the record

<input type="hidden" name="sOrder_wamultihidden_<?php echo $RepeatSelectionCounter_1; ?>" id="sOrder_wamultihidden_<?php echo $RepeatSelectionCounter_1; ?>" value="1" />

The correct value should be, I think,

<input type="hidden" name="WADA_RepeatID_pg_id_<?php echo $RepeatSelectionCounter_1; ?>" id="WADA_RepeatID_pg_id_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo($rsPages->getColumnVal("pg_id")); ?>" />

(I've tried it with both values, and neither work).

I'm using PHP v 7.2, if that's relevant

Many thanks

Sign in to reply to this post

Ray BorduinWebAssist

This page has the MySQL version of the Multiple Update server behavior, not the MySQLi version. Open it up from the server behaviors window and reapply it with the MySQLi connection selected and the code should be updated automatically... assuming you have Databridge v2 installed.

Sign in to reply to this post


Thanks Ray

I think it might be my misunderstanding of the extension; I have the mysqli server extension pack, which I thought was now unnecessary as the facilities are now available in DataAssist - so I used the 'repeat selection' and 'multiple update' links from the webassists|DataAssist menu

I've reapplied everything, using the links from the webassist|MySQLi

I now get the following error:

Fatal error: Uncaught Error: Class 'WA_MySQLi_Query' not found in /home/sites/ Stack trace: #0 {main} thrown in /home/sites/ on line 16

Updated page attached.



Sign in to reply to this post


I have sussed it!

The update beahaviour was inserted before the line

<?php require_once('../../webassist/mysqli/queryobj.php'); ?>

I moved this line above, and it now works properly.

Hope this helps for any future updates.


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





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