Im at the mercy of limited php here and cant find an answer:
Overview of what I want to do:
Trying to assign a variable named $nav which can only be services, clients, contact, and about.
ex: ?nav=services
essentially, I want to know what nav equals and include body content accordingly:
code sample that is failing:
<?php
if (isset(($nav) == "services") include(("featuredservices.htm"));
?>
ideally (using this bad code) i would like it look like this:
<?php
if (isset(($nav) == "services") include(("featuredservices.htm"));
else if (isset(($nav) == "clients") include(("featuredclients.htm"));
else if (isset(($nav) == "about") include(("about.htm"));
?>
If you know why my code is failing and you can give me a code sample that functions like what i have here, THANK YOU THANK YOU....
Help would be greatfully appreciated!