url variable name itself has space in it... how can I retrieve it in php??
Hi, I got this problem, where I need to capture get url variable pairs, but these are coming from an automatically created javascript and has this format:
page?custom zip=33021&custom city=boston... and so on...
If you notice the actual variable-names have spaces in it (custom zip, custom city; as opposed to normally named customzip, customcity) and when i try to capture them in php like this:
<?php echo $_GET; ?>
it doesnt do it... But if I manually change my url and join the variables like this: "customzip=33021" and change php accordingly, then it echoes it with no problem!
So I think is cause php doesnt like the actual variable to have spaces in it.. so how do I get to read it??
thanks, appreciate feedback...