close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

multiple update

Thread began 1/04/2019 7:19 am by Sweens | Last modified 1/03/2020 10:37 am by Sweens | 1492 views | 16 replies

Sweens

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/sweens.uk/public_html/admin/modals/modal-mainpages-sort.php:65 Stack trace: #0 {main} thrown in /home/sites/sweens.uk/public_html/admin/modals/modal-mainpages-sort.php 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
Chris

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