Process form values via loop
<p>I have a form that has fields with the following name</p>

<pre><code>&lt;input type="text" name="value[]"&gt;
&lt;input type="text" name="value[]"&gt;
&lt;input type="text" name="value[]"&gt;
</code></pre>

<p>On form submit I need to run a query and store each submitted non-empty values into my db. How do I do that? I suppose I need to run loop but not sure how and especially to avoid blank field submissions.</p>
