addslashes() and stripslashes()

From: Date: Wed, 14 Aug 2002 17:48:13 +0000
Subject: addslashes() and stripslashes()
Groups: php.general 
Request: Send a blank email to php-general+get-112560@lists.php.net to get a copy of this message
Is it a good idea to always use addslashes() on a value gathered from a text field or textarea? If you use addslashes() to "INSERT" the stuff into a db, should you always use stripslashes() when you "SELECT" it from the database? tia, --ed __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

« previous php.general (#112560) next »