On Wed, Mar 23, 2005 at 12:36:20PM -0700, Michael L Torrie wrote: > On Wed, 2005-03-23 at 12:18 -0700, Eric Jensen wrote: > > Wasn't sure if running something like "addslashes" on the string would > > currupt the data. > > I don't think you want to run addslashes. Use the mysl-specific escape > function.
mysql_escape_string -- Escapes a string for use in a mysql_query http://www.php.net/manual/en/function.mysql-escape-string.php -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
pgpTXRbwfd0Hr.pgp
Description: PGP signature
.===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='
