RE: [PHP] addslashes() and stripslashes()

2002-08-14 Thread Matt Schroebel
> -Original Message- > From: ed [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 1:48 PM > To: [EMAIL PROTECTED] > Subject: [PHP] addslashes() and stripslashes() > > > Is it a good idea to always use addslashes() on a > value gathered from a t

[PHP] addslashes() and stripslashes()

2002-08-14 Thread ed
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