Multiple foreach statements in PHP script
<p>Here is my current code:</p>

<pre><code>foreach ($swears as $bad_word)
$body = str_ireplace($bad_word, "", $body);
</code></pre>

<p>It's filtering bad words, but I'd like to also filter a ":" to a "-" in the body. How can I have multiple foreach statements in my script?</p>
