Re: Text data truncated after first blank character in form fields

From: Date: Tue, 18 Feb 2003 08:29:50 +0000
Subject: Re: Text data truncated after first blank character in form fields
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-135968@lists.php.net to get a copy of this message
Kevin I tried flushing and also IE 6 and Netscape 6.2. Still getting truncation. Mike --- Kevin Stone wrote:
Hmm. Don't know what to tell ya. It works on my computer. Have you tried pressing CTRL+F5 to flush your browser cache? - Kevin ----- Original Message ----- From: "rentAweek support" <support@rentaweek.org> To: "Kevin Stone" <kevin@helpelf.com> Cc: "Michael Eacott" <Michael@eacott.worldonline.co.uk>; <php-general@lists.php.net> Sent: Monday, February 17, 2003 3:12 PM Subject: Re: [PHP] Text data truncated after first blank character in form fields
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


« previous php.general (#135968) next »