unsaon pag delete ug rows sa database gamit checkboxes nya maka delete cya ug daghan?.. ni suway nako sa google puros sayop ang mga program...
pwede pa tabang?...
![]()
unsaon pag delete ug rows sa database gamit checkboxes nya maka delete cya ug daghan?.. ni suway nako sa google puros sayop ang mga program...
pwede pa tabang?...
![]()
unsa d.i imung implementation karon brad?=),,i post daw dri kay para mkatabang ta,,
php - Get all values from checkboxes? - Stack Overflow
basin maka tabang ang link bro.. try lang..![]()
try daw ni sir
PHP MySQL Delete From
If I were to implement that. I would do:
1. Each checkbox should have the `student_id` as a value.
2. During post request, get each `student_id` from the checked checkbox
3. Iterate through the student_id to create one single query statement to delete those student_id.
4. Delete in DB.
If you are interested to learn more, check this
https://www.istorya.net/forums/everyt...l#post13794550
same ta ug problem boss but ang reply link boss stealthghost will do the trick. hehehe
Last edited by jairoh_; 02-21-2013 at 06:45 AM.
kung ganahan ka ajax/jquery,kini ay:
var checked = new Array();
$('#id_saimong div_nga_naa_ang_checkbox input:checked').each(function() {
checked.push($(this).attr('id_or_name'));
});
kanang checked mao ipasa nimo saimo ajax request
close......
iSTORYA.net Sitewide Forum Rules
Buy/Sell/Trade/Classifieds Forum Rules
Frequently Asked Questions (FAQ)
The philosophers have only interpreted the world, in various ways. The point, however, is to change it.
Similar Threads |
|