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:[EMAIL PROTECTED]]
// Sent: Thursday, 7 March 2002 1:38 AM
// To: [EMAIL PROTECTED]
// 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
// 
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to