Re: variable shortened in hidden fields?
| From: | Chris Hayes | Date: | Sun, 22 Jun 2003 13:58:26 +0000 |
| Subject: | Re: variable shortened in hidden fields? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152448@lists.php.net to get a copy of this message | ||
At 15:23 22-6-2003, you wrote:
Hello friends. I am passing a variable of two word like "communications software" from one form to the other. The variable passes as communications%20software . This is okay for some purpose, but not for the hidden text field that I want. The hidden text field gets the value "communications" only instead of "communications software". Is there a way to solve this? putting quotes in the tag!compare: echo '<input type=hidden myvar='.$myvar.'>';
<input type=hidden myvar=communications software>to echo '<input type="hidden" myvar="'.$myvar.'">';
<input type="hidden" myvar="communications software">