Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <select class="form-control" name="parent_cat" id="parent_cat">
  2. <option selected="selected"><?php echo $array[3]; ?></option>
  3. <?php
  4. while ($array2 = mysqli_fetch_all($par_cat, MYSQL_NUM)){
  5. echo '<option value="'.$array2['0'].','.$array2['1'].'"> '.$array2['0'].' - '.$array2['1'].'</option>';
  6. }?>
  7. </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement