RE: [PHP-DB] Re: addslashes replacement?

2004-06-30 Thread Ed Lazor
Thanks everyone. I ended up using a combination of the htmlspecialchars and the stripslashes commands. The htmlspecialchars function has an example about halfway down that I ended up using. Thanks =) > -Original Message- > Take a look at the php website on the function addslashes. > Y

Re: [PHP-DB] Re: Addslashes

2003-12-04 Thread Ng Hwee Hwee
hi, thanx! my magic_quotes_runtime is set to off. actually, i managed to do a double stripslashes to my form fields eg. stripslashes(stripslashes($field1)).. this worked well but still if the input box is a textbox and i have a value that has a double quote ( " ) as part of it, anything after the

RE: [PHP-DB] Re: Addslashes in SQL Statement - SOLVED

2002-08-03 Thread Rich Hutchins
Just a quick post to say that I resolved this issue. Thanks, JJ, for taking the time to reply. Turns out it WAS just something stupid like I thought. A bad HREF pointing to an old version of the page without the addslashes() stuff implemented. Rich -Original Message- From: JJ Harrison [ma