addslashes
| From: | Waldemar Brand Neto | Date: | Tue, 13 Aug 2002 19:29:15 +0000 |
| Subject: | addslashes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15230@lists.php.net to get a copy of this message | ||
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