> Your problem has nothing to do with the Objects (or really even PHP for
> that matter). You're not supposed to run mysql_escape_string on an
> entire query.

Yup, you are correct, my bad.

So I ran my $_POST array into array_map before the injection:

$_POST = array_map("mysql_escape_string","$_POST");

And it all worked on nicely.

--Matthew Sims
--<http://killermookie.org>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to