Re: Escape Data In/Out of db [solved]

From: Date: Fri, 10 Apr 2009 19:48:56 +0000
Subject: Re: Escape Data In/Out of db [solved]
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-291354@lists.php.net to get a copy of this message
At 9:12 PM -0700 4/9/09, Jim Lucas wrote:
tedd wrote:
At 5:03 PM +0200 4/9/09, Jan G.B. wrote:
You might want to use htmlspecialchars($str, ENT_QUOTES)
OUT from db to html and
mysql_real_escape_string(stripslashes($_POST['yourself']));
The above tells me that you probably need to look at your magic quotes setting.
The php info says: magic_quotes_runtime Off Off magic_quotes_sybase Off Off I'm assuming that means OFF, right? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#291354) next »