my self-made admin panel works just fine, but it doesn't save values of form inputs.
When I type something into textbox and click "save" it is still there after refreshing, thanks to PHP:
<input type="text" name="header" value="<?php echo get_option('header'); ?>" />
So the PHP echoes its own value to a input and everything is just fine. But what to do when I have list of 10 radio buttons or just a checkbox?
For now I have a checkbox like this:
<input type="checkbox" name="showS" value="true">
And after clicking on it and saving - it's still "unclicked".
Any helping had?