I'm presently creating some theme options in wordpress &lifier I'm trying to produce a choose box therefore the user can choose an epidermis for the theme. I'm a new comer to wordpress theme options so I'm not sure a great deal about the subject.

I'm looking for outside assistance using the php to ensure that once the user chooses among the options it updates that option with selected="selected" &lifier saves it and so the worth of that choice is delivered to the header.php file in order to utilize it after that.

HTML Choose I'm using

<select>
    <option value="" selected="selected">Select a skin</option>
    <option value="light.css">Light Skin</option>
    <option value="dark.css">Dark Skin</option>
 </select>

Thank you for any help!

Couldn't produce a query to include the selected="selected"

for instance:

<select>
    <option value="">Select a skin</option>
    <option value="light.css" <?php if($theme == $themename):?>selected="selected" <?php endif; ?>>Light Skin</option>
    <option value="dark.css">Dark Skin</option>
 </select>

You'd add this to any or all <option> elements