[thelist] PHP mysql_escape_string or addslashes
Mark Groen
mark at markgroen.com
Thu Aug 12 19:17:42 CDT 2004
----- Original Message -----
From: "Kasimir K" <>
To: <thelist at lists.evolt.org>
Sent: August 12, 2004 11:36 AM
Subject: [thelist] PHP mysql_escape_string or addslashes
> mysql_escape_string or addslashes - is there a reason why I should
> prefer one over the other?
the first is mysql db specific, addslashes is not but there are
problems with it, read the user notes at the bottom from this page:
http://www.php.net/manual/en/function.addslashes.php
hth!
cheers,
Mark
MG Web Services
Web Site Hosting and Development
www.mgwebservices.ca
604-780-6917
Bowen Island, B.C., Canada
More information about the thelist
mailing list