Re: addslashes()

From: Date: Thu, 07 Feb 2002 22:36:44 +0000
Subject: Re: addslashes()
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16641@lists.php.net to get a copy of this message
Try $Notes = addslashes($Notes); You where almost right :) /Alexander ----- Original Message ----- From: "Todd Williamsen" <todd@williamsen.net> To: <php-db@lists.php.net> Sent: Thursday, February 07, 2002 11:32 PM Subject: [PHP-DB] addslashes() > I have a "Notes" field where users can add notes. Now, there will be times > when they use quotes "" or maybe even HTML, what is the correct way of using > this function? > > I have tried: > > addslashes($Notes); > > and > > $Notes addslashes($Notes); > > neither work.. > > I thought I would ask this great newsgroup! > > Thanks > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.db (#16641) next »