i am using prototype.js
views:
21answers:
2I am working a website, where when user clicks "add contacts", it should display a list of contacts with checkboxes behind them. And when user checks those checkboxes, there value should be entered into the database. All of the values, one by one. Actually, i am looking for a php code.
Climb
2010-03-24 05:39:09
A:
the trick is to produce an html result array, using name="array_name[]" in the checkbox tag.
a quick google search for html checkbox array php produces this top link:
http://www.plus2net.com/php_tutorial/array_checkbox.php
amongst many more that you may peruse at your leisure.
dar7yl
2010-03-24 16:41:39