Yo i have the same problem!
I figured out how to get round it tho:
Instead of using the "?subchoice=" you put the Variable "$subchoice" before you include, and then you just include the page WITHOUT the Substring...
This is what i mean:
<?php
$filename = "http://www.mywebsite.com/Admin/mainchoice/memberinfo.php";
$subchoice = "$yourchoice";
include"$filename";
This works for me, should work for you...
The include you provided in your first post doesn't work in an Include() function because it this the extension of the filename is .php?subchoice= , and tries to find the filename with that extension... it works in a browser because its looking for the filename memberinfo.php and set the variable "$Subchoice", it knows this because the browser recognises the "?" (question mark", and tell the page that "$subchoice = $youchoice"...
BTW i DID give u the answer in your PM box...
14yr and hating school! lol, so i turn to php... 😃