Answers for "php set selected option"

PHP
0

php set selected option

//use this while you are looping throw the row.
<option value="myValue"<?=$row['value'] == 'myValue' ? ' selected="selected"' : ''?>>myValue</option>
Posted by: Guest on June-09-2021

Code answers related to "php set selected option"

Browse Popular Code Answers by Language