I've got a script say myscript.php and when i include that script i need to pass in a variable such as MyID so i thought i could do
include("myscript.ph?MyID=2");
But after reading the manual I can't, how can i pass in my ID?
All include()'d scripts share the scope in which include() was invoked in the calling script, so you could define a $ID variable before calling include() and use that instead.