php form post issue
<pre><code>foreach ($_POST as $key =&gt; $value) {
   $_POST[$key] = mysql_real_escape_string($value);
}
foreach ($_GET as $key =&gt; $value) {
   $_GET[$key] = mysql_real_escape_string($value);
}
</code></pre>

<p>Hi all,<br><br>
I protect my db for oppsite sql injection with above codes. But when i define "name" for checkbox like  <strong>Checkbox_IDS[ ]</strong> form not post values. How can i solve this issue? <br><br>
Thank you for help, already now.</p>
