Hello everyone! I recently moved my website from funpic.org to zymic.com because this seemed like a much better web hosting service. I used a simple include() php script to organize my website while I was on funpic.org, but now the script does not work anymore on this new web host.
The script is embedded in my index.php page and goes...
<?php
if ($p=="") {include ("home.php");}
elseif ($p=="art") {include ("art/art.php");}
elseif ($p=="cdteam") {include ("cdteam.php");}
elseif ($p=="contact") {include ("contactme.php");}
?>
.... and so forth. The variable p was always defined in the URL... so if the link was to index.php?p=art, then it would include the art page. It does not do that anymore and I'm wondering why. Do I have to do anything in particular before I'm able to use PHP scripts?
Any help would be much appreciated. Thanks in advance.