[eluser]überfuzz[/eluser]
[quote author="basty_dread" date="1256393785"]i have many checkbox. it is on a form. usually the checkbox is created using a loop. and the data on the table is load from the database. . thank you for posting uberfuzz.[/quote]
Then you could use the form library in your view-file.
Code:
<?php foreach ($data_array AS $keys => $value): ?>
<p><?php echo form_radio('erase['.$keys.']','erase'); ?></p>
<?php endforeach; ?>
Edit, you might wanna echo the name of the checkbox.