Re: Convert a string so it is valid for a sql query
| From: | Moody | Date: | Mon, 10 Sep 2001 16:37:49 +0000 |
| Subject: | Re: Convert a string so it is valid for a sql query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66776@lists.php.net to get a copy of this message | ||
> Is there a function to convert a string so it is a valid string of text
> for a SQL query? AN example would be a string of text that has ' in it
> would be converted to \'
http://www.php.net/manual/en/function.addslashes.php