Re: addslashes

From: Date: Tue, 13 Aug 2002 19:39:07 +0000
Subject: Re: addslashes
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15232@lists.php.net to get a copy of this message
Thank you Dash, now it's working. ----- Original Message ----- From: "dash php" <dash.php@westonefcu.org> To: "'Waldemar Brand Neto'" <wbn@softall.com.br>; <php-windows@lists.php.net> 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:wbn@softall.com.br] > 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 >

« previous php.windows (#15232) next »