close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Product admin site: updating option (multiple update) not working

Thread began 4/29/2013 5:34 am by rikaG_510 | Last modified 5/02/2013 11:36 pm by rikaG_510 | 924 views | 4 replies |

rikaG_510

Product admin site: updating option (multiple update) not working

Hi Jason,

I'm making a simple product admin site using DataAssist so my client can edit the product info without my help.

Everything is working except updating product option info to Options table.
All the products info are stored in 'Products' table, and option info is stored in 'Options' table in my database.
Options data is pulled by ProductID and it's successfully showing on Update page.
But I must be doing something wrong with Multiple Update Server Behavior setting, Options data is not being sent to the database (product info is sent fine).

No error message after adding this:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>

It'll be a great help if you could look at my codes.
What am I missing?
Attached text file is for the Update.php page.

Thank you for your help in advance.

Attached Files
Multiple_update_issue_29Apr2013.txt
Sign in to reply to this post

Jason ByrnesWebAssist

I don't see anything obvious in the code, I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

rikaG_510

I found one thing missing in the code. OptionID wasn't binded in rsOptions recordset.
After I fixed this, when I update the record the option info is over-written with OptionID number.
And still cannot make any change to option info.

Sign in to reply to this post

Jason ByrnesWebAssist

i corrected the problem by updating line 139:

php:
$WA_fieldValuesStr = "".WA_AB_getLoopedFieldValue("WADA_RepeatID_OptionID", $WA_multipleUpdateCounter)  ."";



to:

php:
$WA_fieldValuesStr = "".WA_AB_getLoopedFieldValue("ProductOption", $WA_multipleUpdateCounter)  ."";
Sign in to reply to this post

rikaG_510

Hi Jason,

Everything is perfectly working now.

Thank you so much!

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