[!--quoteo(post=384620:date=Jun 16 2006, 10:59 AM:name=kanikilu)--][div class=\'quotetop\']QUOTE(kanikilu @ Jun 16 2006, 10:59 AM) [snapback]384620[/snapback][/div][div class=\'quotemain\'][!--quotec--] This probably doesn't have anything to do with your problem, but why are you escaping forward slashes? [code]if($_SERVER['PHP_SELF'] == "\/index.php")[/code] Shouldn't that simply be: [code]if($_SERVER['PHP_SELF'] == "/index.php")[/code]? [/quote] I wish I knew the code I started out using was [code]if($PHP_SELF == "\/index.php")[/code] I don't know if its wrong or right it doesn't seem to make it work or not work adding or removing the escaping forward slash. So I guess it can't be to big of a deal but I dunno like I said I am kinda new :/ [!--quoteo(post=384620:date=Jun 16 2006, 10:59 AM:name=kanikilu)--][div class=\'quotetop\']QUOTE(kanikilu @ Jun 16 2006, 10:59 AM) [snapback]384620[/snapback][/div][div class=\'quotemain\'][!--quotec--] This probably doesn't have anything to do with your problem, but why are you escaping forward slashes? [code]if($_SERVER['PHP_SELF'] == "\/index.php")[/code] Shouldn't that simply be: [code]if($_SERVER['PHP_SELF'] == "/index.php")[/code]? [/quote] Nevermind!!! Kanikilu your a the master I guess I am just dumb thanks for helping me that worked.