Posted by www.gerardvignes.com on 12/26/06 16:08
I wrote a simple PHP function for handling string arguments to a SQL Query: function SqlEscapedQuotedString($unescaped_string) { return '"' . addslashes($unescaped_string) . '"'; } I never accept a SQL Query from the client, only an Argument to a SQL Query on the server. Gerard Vignes http://www.GerardVignes.com Seattle, WA
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming