They do not do the same thing.
mysql_escape_string() is what you're after, if you're inserting data from user input into an SQL statement, regardless!
Jed
-- _ (_)___ Jed Smith, Code Monkey | / __| jed@xxxxxx | jed@xxxxxxx | \__ \ +1 541 606-4145 _/ |___/ Signed mail preferred (PGP 0x703F9124) |__/ http://personal.jed.bz/keys/jedsmith.asc
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php