GitHub - sumangr8/How-to-store-id-through-select-option: <select name="product_cat"> <option value="<?php echo $cat_id; ?>"><?php echo $cat_title; ?></option> <?php $qry=mysqli_query($db,"select * from categories"); while($row_cat=mysqli_fetch_array ...
![theme development - Fetch data from database with dropdown selected option - WordPress Development Stack Exchange theme development - Fetch data from database with dropdown selected option - WordPress Development Stack Exchange](https://i.stack.imgur.com/GIBBo.png)
theme development - Fetch data from database with dropdown selected option - WordPress Development Stack Exchange
![PHP Display Multi-Select From Array Values with Pre-Selected Options User Previously Saved - Stack Overflow PHP Display Multi-Select From Array Values with Pre-Selected Options User Previously Saved - Stack Overflow](https://i.stack.imgur.com/ctLs5.png)