Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $rs=sql("select sectionName from sections where sectionName != ' ' order by sectionName");
  2. $cat_options="";
  3. foreach($rs as $d){
  4. $option=$d['sectionName'];
  5. $cat_options.= "<label><input type='checkbox' name='category[]' value='$option'>$option</label><br/>";
  6. }
  7.  
  8. $a = explode(",", $category);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement