Re: [PHP] a DOT or a BLANK SPACE
IMO that is a bad way to name them, why Num. and Home Address, if you explained the reason for needing these names maybe we could better help you. Chris TunkeyMicket Watford TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: Jaime Torres [EMAIL PROTECTED] To: [PHP] General List [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 4:17 PM Subject: [PHP] a DOT or a BLANK SPACE Hi. We HAVE TO use names like Num. or Home Address in for our input tags in the forms. That is: input type=text name=Num. input type=text name=Home Address When I receive the info in my PHP file, after the form has been posted, the variable name I get is: 'Num '. So, the dots are being replaced for a blank space. I can't take for granted that any blank space is a dot since my inputs names are using them. How can I identify between this two variable names? Thanks for your help! Regards, Jaime -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] a DOT or a BLANK SPACE
Hi. We HAVE TO use names like Num. or Home Address in for our input tags in the forms. That is: input type=text name=Num. input type=text name=Home Address When I receive the info in my PHP file, after the form has been posted, the variable name I get is: 'Num '. So, the dots are being replaced for a blank space. I can't take for granted that any blank space is a dot since my inputs names are using them. How can I identify between this two variable names? Thanks for your help! Regards, Jaime -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] a DOT or a BLANK SPACE
as I remeber, dots should be replaced by underscores not spaces .. at least if your input type is image and it's name is img then you would get two variables: img_x and img_y instead of what html4 spec specifies: img.x and img.y. Evevn if they get replaced then does it happen with $HTTP_POST_VARS[] array? I see now purpose of those names being replaced for this array only when they are populated as global variables. And still .. are you sure your webbrowser doesn't do that before t even makes to php? Lenar Jaime Torres [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi. We HAVE TO use names like Num. or Home Address in for our input tags in the forms. That is: input type=text name=Num. input type=text name=Home Address When I receive the info in my PHP file, after the form has been posted, the variable name I get is: 'Num '. So, the dots are being replaced for a blank space. I can't take for granted that any blank space is a dot since my inputs names are using them. How can I identify between this two variable names? Thanks for your help! Regards, Jaime -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]