doddsey_65 Posted November 9, 2010 Share Posted November 9, 2010 Im having trouble deleting the selected checkboxes in my form. I have tried several options out there but none seem to work. here is the code i have which generates the checkboxes. i am alos using jquery to select all. <form name="checkboxes" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> This is within the while loop: echo "<input value=\"{$messages_info->message_id}\" style=\"float:left;\" type=\"checkbox\" name=\"checkbox\" />"; <a href="<?php echo $site_root; ?>/user_center.php?user=<?php echo $_GET['user']; ?>&do=messages&action=del_marked"> Delete Marked</a> </span> Anyone have any ideas? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/218157-delete-selected/ Share on other sites More sharing options...
OldWest Posted November 9, 2010 Share Posted November 9, 2010 Just to clarify, are you trying to delete a record from a table based on the selected checkbox? Quote Link to comment https://forums.phpfreaks.com/topic/218157-delete-selected/#findComment-1132040 Share on other sites More sharing options...
doddsey_65 Posted November 9, 2010 Author Share Posted November 9, 2010 yes Quote Link to comment https://forums.phpfreaks.com/topic/218157-delete-selected/#findComment-1132041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.