Re: Text data truncated after first blank character in form fields
| From: | rentAweek support | Date: | Mon, 17 Feb 2003 22:12:28 +0000 |
| Subject: | Re: Text data truncated after first blank character in form fields | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135911@lists.php.net to get a copy of this message | ||
Thanks
I tried our your suggestion sic:
<input type="text" size="20" name="testvar" value="<?php echo $testvar; ?>">
Still truncation
Mike
---
Kevin Stone wrote:
It's your HTML Failing to enclose the value in quotes may lead to truncation. Your output looks like this... <input type="text" size=20 name=testvar value=a b c> You should always quote every parmeter in the tag just to avoid such problems. This should work.. <input type="text" size="20" name="testvar" value="<?php echo $testvar;?>"> - Kevin