So I have been out of coding for a little while, but I know this should work.
Can someone tell me what I am doing wrong? LOL Has PHP updated and banned this?
So basically. I have a website with a horizontal navigation bar across the top. When you click on a certain category, I am making it where a subcategory list appears below that bar.
I have the design how I want, but when I enter the simple code, it won't work.
<? if (($_GET['id']) == "aboutme") { ?>
the div tags and stuff go here
<? } ?>
That is it. I have tried to do it with a simple $id == "" instead of $_GET['id']
I have tried doing <?php .. but no matter what I do, that subcategory bar ALWAYS appears. I only want it to appear when a link has been chosen... gah
lol
Help?