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 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? 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 Link to comment https://forums.phpfreaks.com/topic/218157-delete-selected/#findComment-1132041 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.