Posted by Andy Hassall on 11/06/06 04:39
On 5 Nov 2006 20:29:45 -0800, "laredotornado@zipmail.com"
<laredotornado@zipmail.com> wrote:
>I'm using PHP 4.4.4. I notice for form elements that contain spaces,
>PHP substitutes an underscore for the element name when the form is
>submitted. For example, if I have this page (test.php)
>
><html>
>the output is
>
>key: Hi_There val:2
>key: __utma val:171843875.238415504.1160252422.1161727205.1161788841.6
>key: __utmz
>val:171843875.1160252422.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
>key: PHPSESSID val:f8cc02f8aa63d9cd7a50e6a1d340b1b8
>
>How do I preserve the space in the element name?
Short answer, you can't; longer answer:
http://groups.google.co.uk/group/comp.lang.php/browse_frm/thread/a4c5441305e55538
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|