This is the code i used when i decided to use array for storing options in my theme.<br>Code is self explanatory, feel free to contact me if you have any questions.<br><br>&lt;?php<br>function on_theme_activation(){<br>    if ( get_option(&#39;swift_activation_check&#39;)!=&quot;set&quot; ){<br>
        //Checking if the user used the theme before<br>        //Pick some variable from your theme and see if its set<br>        if(get_option(&#39;swift_logo_url&#39;)){<br>        foreach ($swift_options as $value) {<br>
                $swift_opt[$value[&#39;id&#39;]]=get_option($value[&#39;id&#39;]);<br>                 delete_option($value[&#39;id&#39;]); <br>                }<br>        update_option(&#39;swift_opt&#39;,$swift_opt);    <br>
        }<br>}    <br>    // Add marker so it doesn&#39;t run in future<br>    update_option(&#39;swift_activation_check&#39;, &quot;set&quot;);<br><br>}<br>add_action(&#39;admin_head&#39;, &#39;first_run_options&#39;);<br>
?&gt;<br><br><br>Satish Gandham<br>