Can this all be done in php and JQuery
<p>I want to do the following but I want to find out if its possible and whats the easiest way to do it before I spend hours looking on google for something that isn't possible. The situation is a web app that would run of a users localhost so they can configure a config.php file.</p>

<ol>
<li><p>Can the number of available check boxes be set in a config.php file.  ie. </p>

<p><code>$numberofcheckboxes ="4"</code></p></li>
<li><p>Can descriptions be set for these in the config.php ie.</p></li>
<li><p>When these check boxes are displayed and ticked and then submitted can a php function be run with variables depending on which checkboxes were ticked. So in the config.php you would set the different variables for each checkbox. ie.</p>

<p><code>$check1name = "name 1"</code><br>
<code>$check1size ="120"</code></p>

<p><code>$check2name ="name 2"</code><br>
<code>$check2size ="160"</code></p></li>
</ol>

<p>The function is always exactly the same function however the variables will be different for each checkbox.</p>

<p>Is this possible?</p>

<p>Thanks</p>
