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

update multiple records, debugging

Thread began 7/27/2010 6:42 am by CraigR | Last modified 9/02/2010 12:16 pm by CraigR | 2111 views | 16 replies


I see in your code, the repeat is above your <? php do {?>
You need to move that.... to below <? php do {?>

Also you need to move your:
<?php } while ($row_rswhateverrecordset= mysql_fetch_assoc($rswhateverrecordset)); ?>

Also, make sure your submit button doesn't have any extra values added to it.
It should be just the name of the buttom.
DA has been adding code to the submit button....when the wizard runs...when it wraps the whole table...
That is the reason for repositioning the code. !

Here is a working example of where the code should be located....
I found it applys to all multiple, insert, update delete.

<?php do { ?>
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
if($RepeatSelectionCounterBasedLooping_1 || $row_rsmessages){
<td colspan="2"><div align="center"><?php echo $row_rsmessages['fromUserName']; ?></div>
<td><div align="center"><a href="message.php?messageID=<?php echo $row_rsmessages['messageID']; ?>"><?php echo $row_rsmessages['subject']; ?></a></div></td>
<td><div align="center">
<input type="hidden" name="WADA_RepeatID_messageID_<?php echo $RepeatSelectionCounter_1; ?>" id="WADA_RepeatID_messageID_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo $row_rsmessages["messageID"]; ?>" />
<input type="checkbox" name="checkboxDelMess_<?php echo $RepeatSelectionCounter_1; ?>" id="checkboxDelMess_<?php echo $RepeatSelectionCounter_1; ?>" value='<?php echo $row_rsmessages["messageID"]; ?>'/>
} // RepeatSelectionCounter_1 Begin Alternate Content
<td width="18%">No Messages</td>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_rsmessages && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_rsmessages = mysql_fetch_assoc($rsmessages);
} // RepeatSelectionCounter_1 End Loop
<?php } while ($row_rsmessages = mysql_fetch_assoc($rsmessages)); ?>
<td colspan="3">&nbsp;</td>
<td><div align="center">
<input type="submit" name="DelMessBtn" id="DelMessBtn" value="Delete" />

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