Re: form posting problem - $variables get padded with spaces

From: Date: Wed, 23 May 2001 03:47:29 +0000
Subject: Re: form posting problem - $variables get padded with spaces
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53976@lists.php.net to get a copy of this message
On Wed, 23 May 2001 15:03, Thomas O'Neill wrote: > Can anyone help? > > Here is my problem, I am submitting a lot of hidden variables using a > <FORM> and they come over padded with a space on the left. I know that > I can trim() them but in case I am working with that might be more > trouble then its worth. This does not happin on another installation > of PHP i have access to. > > my configuration is as follows > > REDHAT 7.0 > PHP 4.0.4 > > > Thanks in advance! > > TOM Just a guess - are you mixing html and php and have errant spaces? Something like: <INPUT TYPE=HIDDEN NAME="blah" VALUE=" <?php echo $value?>"> Perhaps a look at a code snippet, if this is not the case? -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Don't force it, use a bigger hammer.

« previous php.general (#53976) next »