View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

delete multiple records

Thread began 10/03/2009 3:49 am by simmo515303621 | Last modified 10/14/2009 4:01 pm by simmo515303621 | 1762 views | 11 replies

office377308

still not working: multiple delete

Another issue is, that after several tries and removals of the repeat region, they are still there:
<?php
// RepeatSelectionCounter_1 Initialization
$RepeatSelectionCounter_1 = 0;
$RepeatSelectionCounterBasedLooping_1 = false;
$RepeatSelectionCounter_1_Iterations = "-1";
?><?php
// RepeatSelectionCounter_2 Initialization
$RepeatSelectionCounter_2 = 0;
$RepeatSelectionCounterBasedLooping_2 = false;
$RepeatSelectionCounter_2_Iterations = "-1";
?>
<?php
// RepeatSelectionCounter_3 Initialization
$RepeatSelectionCounter_3 = 0;
$RepeatSelectionCounterBasedLooping_3 = false;
$RepeatSelectionCounter_3_Iterations = "-1";
?>

Then, after I did what is described here:

<?php
// RepeatSelectionCounter_3 Begin Loop
$RepeatSelectionCounter_3_IterationsRemaining = $RepeatSelectionCounter_3_Iterations;
while($RepeatSelectionCounter_3_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_3 || $row_rsShownewKat){
?>
<tr>
<td><input type="hidden" name="WADA_RepeatID_categories_id_<?php echo $RepeatSelectionCounter_3; ?>" id="WADA_RepeatID_categories_id_<?php echo $RepeatSelectionCounter_3; ?>" value="<?php echo $row_rsShownewKat["categories_id"]; ?>" />
<input name="edit_sorter_<?php echo $RepeatSelectionCounter_3; ?>" type="text" value="<?php echo $row_rsShownewKat['sort']; ?>" size="8" maxlength="5"></td>
<td><input type="text" name="edit_subkat_<?php echo $RepeatSelectionCounter_3; ?>" id="edit_subkat_<?php echo $RepeatSelectionCounter_3; ?>" value="<?php echo $row_rsShownewKat['header']; ?>"></td>
<td align="center"><input name="clicktodelete_<?php echo $RepeatSelectionCounter_3; ?>" type="checkbox" id="clicktodelete_<?php echo $RepeatSelectionCounter_3; ?>" value='<?php echo $row_rsShownewKat["categories_id"]; ?>'></td>
</tr>
<?php
} // RepeatSelectionCounter_3 Begin Alternate Content
else{
?>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<?php } // RepeatSelectionCounter_3 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_3 && $RepeatSelectionCounter_3_IterationsRemaining != 0){
if(!$row_rsShownewKat && $RepeatSelectionCounter_3_Iterations == -1){$RepeatSelectionCounter_3_IterationsRemaining = 0;}
$row_rsShownewKat = mysql_fetch_assoc($rsShownewKat);
}
$RepeatSelectionCounter_3++;
} // RepeatSelectionCounter_3 End Loop
?>

it still won't work.
Any idea what else could cause this?

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