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

From: Date: Mon, 17 Feb 2003 22:20:41 +0000
Subject: Re: Text data truncated after first blank character in form fields
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-135913@lists.php.net to get a copy of this message
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 (#135913) next »