note 85500 added to function.mysql-real-escape-string

From: Date: Tue, 02 Sep 2008 19:13:00 +0000
Subject: note 85500 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-144089@lists.php.net to get a copy of this message
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]',"; ---- Server IP: 69.147.83.197 Probable Submitter: 99.157.155.81 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/85500 Del: integrated -- https://master.php.net/note/delete/85500/integrated Del: useless -- https://master.php.net/note/delete/85500/useless Del: bad code -- https://master.php.net/note/delete/85500/bad+code Del: spam -- https://master.php.net/note/delete/85500/spam Del: non-english -- https://master.php.net/note/delete/85500/non-english Del: in docs -- https://master.php.net/note/delete/85500/in+docs Del: other reasons-- https://master.php.net/note/delete/85500 Reject -- https://master.php.net/note/reject/85500 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144089) next »