ok i have a page with a link like so:
<a href='http://sunward.dth-scripts.com/index.php?page=fleet&type=$type'>$type</a>
in index.php i have a file called getpage.php
which displays a page based on the page being passed in the url: in this case the page is "fleet"
but at the same time i need to pass the $type variable along with the page.
the problem occurs when getpage.php tried to include fleet.php?type=747
i get the following error:
Warning: include(fleet.php&?type=747) [function.include]: failed to open stream: No such file or directory in /home/.philadelphia/homer09001/sunward.dth-scripts.com/getpage.php on line 11
Warning: include() [function.include]: Failed opening 'fleet.php&?type=747' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/.philadelphia/homer09001/sunward.dth-scripts.com/getpage.php on line 11
how the heck do i get round this?