I receive a variable from the mysql database named $option which in this case could be '1' or '2'. What is the correct PHP code to add the 'selected="selected"' code to $option 1 the corresponding option in the list?
<select name="select-list">
<option value='1'>option 1</option>
<option value='2'>option 1</option>
</select>