- Messages
- 1,682
- Reaction score
- 32
- Points
- 48
It first started with this: http://forums.x10hosting.com/programming-help/100402-how-does-facebook-do.html
Misson was able to show me how to do it using isset(), but making a new if statement for each 'parameter' was very tiring and confusing. But misson also mentioned using array_keys()
I tried this out:
and got this
so I tried calling upon, $_REQUEST[0], but that did nothing.
So does anyone have a solution that I can use that I would not need to make a new if statement for each parameter?
Misson was able to show me how to do it using isset(), but making a new if statement for each 'parameter' was very tiring and confusing. But misson also mentioned using array_keys()
I tried this out:
PHP:
print_r(array_keys($_REQUEST));
Code:
Array ( [0] => compose [1] => account_php?compose [2] => start )
So does anyone have a solution that I can use that I would not need to make a new if statement for each parameter?