Re: [PHP-DB] adding Carrol O'Conner in a form

2001-07-02 Thread Dobromir Velev
stripslahes() to remove the slashes. Dobromir Velev -Original Message- From: Ken Sommers [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sunday, July 01, 2001 7:22 AM Subject: [PHP-DB] adding Carrol O'Conner in a form HI, IF i add my name as Carol O'Conner in a form

Re: [PHP-DB] adding Carrol O'Conner in a form

2001-07-02 Thread John S. Huggins
On Sat, 30 Jun 2001, Ken Sommers wrote: -but how do I get rid of that pesky slash \ ? - -so I can echo exactly what the user typed in? - Try: stripslashes() -I am already using: - - ?php echo(htmlspecialchars ($name, ENT_QUOTES)); ? - -Thanks for the help, - -ken -

[PHP-DB] adding Carrol O'Conner in a form

2001-06-30 Thread Ken Sommers
HI, IF i add my name as Carol O'Conner in a form and Echo (PHP 4.06 on win 95) it back I see Carol O\'Conner If I pass that name along to another page I'll see it as: Carol O\\\'Conner Even if I use : ?php echo(htmlspecialchars ($name, ENT_QUOTES)); ? IF I enter my name as:Carol