Bacon Farmer
Top Contributor
I wouldn't bother with that, a simple intval() or preg_replace() on the variables will stop the problem from happening at all, it's only a really quick fix, too.
If only I'd read those 3 PHP books I bought myself last Xmas I'd understand what you just said
Incidentally FYI if you ever wanted one of the Sitepoint books go here http://sale.sitepoint.com/ subscribe and then wait till the final offer on the 24th.