note 85500 rejected from function.mysql-real-escape-string by felipe
| From: | felipe@php.net | Date: | Fri, 05 Sep 2008 14:50:43 +0000 |
| Subject: | note 85500 rejected from function.mysql-real-escape-string by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144165@lists.php.net to get a copy of this message | ||
Note Submitter: bofett at gmail dot com
----
I am having trouble adding test to mysql which includes a apostrophe. I have read through all of
this information and have tried many different things. I am sure it is simple but I do not have the
experience to fix this. Please have a look at my code and let me know if there is a simple change
that can be made or if I need to hire someone.
Thanks for all of your help.
$addition.="aboutme='$_REQUEST[aboutme]',";
$addition.="website='$_REQUEST[url]',";
$addition.="town='$_REQUEST[hometown]',";
$addition.="city='$_REQUEST[city]',";
$addition.="zip='$_REQUEST[zip]',";