This is irritating as it was working and has now stopped; I must have changed something and dont know what.
Please can you help; Anthony
I am passing a variable in the URL "content_var"
if ($content_var == "")
{
$content_var = 'main';
}
echo "$ content_var =",$content_var;
include ($content_var);
This should check to see if "content_var" has a value and if not use main BUT it uses main every time.
I also have a bit of css problem as well but here is the page
http://209.50.240.86/css/main.php