Warren Vail wrote: > http://us3.php.net/manual/en/function.addslashes.php adding a slash to a quote char that is part of an html tag's attribute's value is not the correct way to encode the quote (actually it's not correct anywhere in an html document) - although I wouldn't be surprised if it worked :-/ see: htmlentities() or htmlspecialchars() > > Good luck, > > Warren Vail > > >> -----Original Message----- >> From: João Cândido de Souza Neto [mailto:joao@xxxxxxxxxxxxxxxxxxxxx] >> Sent: Thursday, August 10, 2006 11:11 AM >> To: php-general@xxxxxxxxxxxxx >> Subject: INPUT >> >> Hi everyone, >> >> Excuse me by off-topic. >> >> I´ve been a little trouble in showing data in html form. >> >> e.g.: In a e-commerce my client have a "Sony 29" TV" that >> when i put it in a input value, it seems just "Sony 29" it´s >> caused by the quote in the data, someone knows how can i fix it? >> >> Thanks all. >> >> >> -- >> João Cândido de Souza Neto >> Curitiba Online >> joao@xxxxxxxxxxxxxxxxxxxxx >> (41) 3324-2294 (41) 9985-6894 >> http://www.curitibaonline.com.br >> >> -- >> PHP General Mailing List (http://www.php.net/) To >> unsubscribe, visit: http://www.php.net/unsub.php >> >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php