Hello,
My scenario is a little confusing so I'll do the best I can to explain.
I have a subnav on my page with links similar to this:On this page I also have an if-else statement that starts like this:Code:<a href="<?php echo $_SERVER['PHP_SELF']; ?>?class=class_name"<?php if ($class == 'class_name') echo ' class="highlight"'; ?>>Class</a>Within "myfile.php" I have bookmarks for some of the text sections:Code:<?php $class = $_GET['class']; if($class == "class_name") { include("myfile.php"); }I want the if-else statement to not only include myfile.php, but to go directly to the bookmark within myfile.php.Code:<a name="class_name">Class Name</a
How can I do this? I hope I explained it well.
Thank You,





Bookmarks