Hey guys. I have a page that is including a page in a sub directory.
Example:
MainPage.php is inlcuding "dealername/dealer.php".
On each page a variable called DealerName is passed thru the URL as DealerName=$dealerName
I am able to use $_GET['DealerName'] to get the dealers name on all pages that are in the main directory. But when I try to get the dealername with the include that is in the sub directory it won't read it.
If I use $dealerName = $_GET['DealerName'] and then
print $dealerName; then $dealerName is just blank. But it only comes out blank when I try to use it in the include from this sub directory.
Is this a known issue? Am I doing something wrong?
Thanks!