RE: [PHP] Truncated Variables
| From: | Jerry Lake | Date: | Tue, 09 Oct 2001 23:46:16 +0000 |
| Subject: | RE: [PHP] Truncated Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70554@lists.php.net to get a copy of this message | ||
or you could replace the spaces
before sending to the next page
$formfield = ereg_replace(" ", "_", $formfield)
and remove the "_" on the next page if desired
hope that helps,
Jerry Lake
Interface Engineering Technician
On Tuesday 09 October 2001 05:11 pm, Michael J Katz wrote:
> If I pass a variable from a form to another script that displays the
> variable I find that text with spaces gets truncated and only the first
> word displays in the display script. If I use field type of textarea in
> the form I don't have this problem. Is there another way around this then
> using textarea?
>
> Thanks
> M Katz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net