echo php dropdown from db and save it in a db

PHP
echo "<option value='{$row['category_id']}'>{$row['category_name']}</option>";
Source

Also in PHP: