mysql_real_escape_string() ?
| From: | Chris Knipe | Date: | Tue, 18 Jun 2002 21:23:47 +0000 |
| Subject: | mysql_real_escape_string() ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102802@lists.php.net to get a copy of this message | ||
Lo all,
Does mysql_real_escape_string exist? I've seen it in the manual pages, and
to my understanding, it is the proper function to call on strings to escape
them before inserting them into a database...
I've used it as follows:
$text[1] = mysql_real_escape_string($text[1]);
$details[0] = mysql_real_escape_string($details[0]);
$url[1] = mysql_real_escape_string($url[1]);
However, it returns a error:
Fatal error: Call to undefined function: mysql_real_escape_string() in
D:\temp\grabnews.php on line 32
Now what???