Page 1 of 1

PHP question: can't do /index?a=2&b=3... [Solved]

Posted: Sun Dec 13, 2015 1:25 am
by jameshutchings
My server has recently changed the version of PHP it uses.

The games on my site rely on passing variables from one screen to the next in the URL. For example: http://www.apolitical.info/webgame?a=2&b=6&c=++-++.+ and so on.

The version of PHP they've changed to doesn't do this.

What should I do instead?

Re: PHP question: can't do /index?a=2&b=3...

Posted: Tue Dec 15, 2015 6:33 am
by Winawer
Use $_GET.

Re: PHP question: can't do /index?a=2&b=3...

Posted: Wed Dec 16, 2015 1:54 am
by jameshutchings
Thanks!

Re: PHP question: can't do /index?a=2&b=3...

Posted: Thu Dec 17, 2015 8:40 pm
by SpiritWebb
jameshutchings wrote:Thanks!
Is this question solved? If so, please edit OP with [Solved] in the subject line. Thanks!! :mrgreen: