RE: [PHP-DB] I have a " in my db ?

From: Date: Thu, 07 Mar 2002 02:33:46 +0000
Subject: RE: [PHP-DB] I have a " in my db ?
Groups: php.db 
Request: Send a blank email to php-db+get-17535@lists.php.net to get a copy of this message
try using echo htmlspecialchars($name); that wya the " will convert to a " and should display properly in the HTML (check your source before doing this, it is probably all there, but the " is causing HTML rendering problems or something) HTH Beau // -----Original Message----- // From: Dave carrera [mailto:dave@davecarrera.com] // Sent: Thursday, 7 March 2002 1:38 AM // To: php-db@lists.php.net // Subject: [PHP-DB] I have a " in my db ? // // // Hi All // // // // I think this has something to do with either // // // // Stripslashes or Addslashes but which one. And where do I use it. // // // // I have a product that has a " in the name and I have created // a drop down // list from the names. // // // // I cant get it to reg the name. all it reg is 15" instead of // th full name // which is 15" lcd Monitor. // // // // How do I get past this issue // // // // The php manual has no usage examples relevant to my needs. // // // // Please help // // // // Dave c // //

« previous php.db (#17535) next »