Escape hyphen in PHP /mySQL query
<p>The following line throws an error:</p>

<pre><code>$query = "INSERT INTO mail_senders(mailAddress) VALUES ('$_POST[sender-email]')";
</code></pre>

<p>and the problem is the hyphen "-"</p>

<p>I might easily change "-" with "_" but I would like to know if it possible to escape that character for future reference.</p>

<p>Thanks in advance</p>
