How to prevent saving unusual HTML entities from PHP form?
<p>Every now and then, I get unusual data saved to the database from my PHP form that looks like this: </p>

<pre><code>Mr. Smith&amp;amp;amp;amp;amp;amp;amp;amp;amp;#039;s 
</code></pre>

<p>What could be causing this, and is there a better way to remove the entities than using <code>preg_replace</code>, since the php decode functions don't properly decode the entire thing?</p>
