Thank you Dash, now it's working. ----- Original Message ----- From: "dash php" <[EMAIL PROTECTED]> To: "'Waldemar Brand Neto'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 4:27 PM Subject: RE: [PHP-WIN] addslashes
> Put \"'s around the value=$nome like this: > > echo "<input name=nome type=text size=60 maxlength=60 value=\"$nome\">"; > > -Dash > > -----Original Message----- > From: Waldemar Brand Neto [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 12:29 PM > To: PHP Windows > Subject: [PHP-WIN] addslashes > > > Hey I'm a newbie and have a question about addslashes. > In the databse the field is complete like: Waldemar Brand Neto, but when I > get the field from it the return is trunved like Waldemar. How cam I fix > that? Thank´s. > > <?php > $nome=addslashes($linha['nome']); > echo "<input name=nome type=text size=60 maxlength=60 value=$nome>"; > ?> > Result : Waldemar and the correct is: Waldemar Brand Neto > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php