My apologies. I left that table out of the above list, but it does exist and is in use.
productoptions:
ProductOptionID
ProductID
OptionID
OptionGroupID
OptionPriceIncrement
It's been quite some time since I originally developed this page, but I believe I followed a similar tutorial when created and I've combed down through the tutorial you linked and I believe my page is in sync with what has been instructed. Everything works great except for the checkboxes for the options not being checked as they should in the update page. I was thinking I needed another recordset on the update page to pull that existing data, but maybe I'm wrong.
Can you tell me what specific part of the MRT tutorial sets the checked/unchecked status? In the "Step 4: Make the checkbox dynamic" instructions, I see plainly how it writes changes to the DB, but I don't see where it sets the checked/unchecked status on the initial page load.
BTW, here is the specific code pertaining to the repeating checkboxes on the update page in case that helps:
<?php do { ?>
<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_rsMaterialoptions){
?>
<input type="hidden" name="WADA_RepeatID_OptionID_<?php echo $RepeatSelectionCounter_1; ?>" id="WADA_RepeatID_OptionID_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo $row_rsMaterialoptions["OptionID"]; ?>" />
<input <?php if (!(strcmp($row_rsMaterialoptions['OptionID'],1))) {echo "checked=\"checked\"";} ?> <?php if (!(strcmp($row_rsMaterialoptions['OptionID'],WA_AB_returnPreSelectValue($WA_PreSelect_RelationalTable_1, $row_rsMaterialoptions['OptionID'])))) {echo "checked=\"checked\"";} ?> class="checkbox" name="checkbox_<?php echo $RepeatSelectionCounter_1; ?>" type="checkbox" value="<?php echo $row_rsMaterialoptions['OptionID']; ?>" />
<?php echo $row_rsMaterialoptions['OptionName']; ?><br />
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
No records match your request.
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_rsMaterialoptions && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_rsMaterialoptions = mysql_fetch_assoc($rsMaterialoptions);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>
<?php } while ($row_rsMaterialoptions = mysql_fetch_assoc($rsMaterialoptions)); ?>