Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $rs=sql("select sectionName from sections where sectionName != ' ' order by sectionName");
- $cat_options="";
- foreach($rs as $d){
- $option=$d['sectionName'];
- $cat_options.= "<label><input type='checkbox' name='category[]' value='$option'>$option</label><br/>";
- }
- $a = explode(",", $category);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement