Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function benefit_checkboxes(){
- echo '
- <div class="clear"></div>
- <div class="title">Please select the benefits you Provide.</div>
- ';
- $result2 = mysql_query("SELECT * FROM benefits WHERE b_status='1'");
- if($result2){
- while($r = mysql_fetch_array($result2)){
- echo '<div class="cbwrapper"><label><input type="checkbox" name="keys[]" value="'.$r["b_id"].'">'.$r["b_name"].'</option></label></div>';
- $i++;
- if(($i%3) == 0){
- echo '<div class="clearboth">test</div>';
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment