-
Breadcrumb Navigation
This works, but as usual I think there must be a simpler way. Any suggestions?
// $str equals $pagetitle minus spaces and commas. This PHP sits below the common navigation div for the entire site.
if(($str=="healthcare") || ($str=="hospitality") || ($str=="manufacturing_distribution_and_warehousing") || ($str=="pharmaceutical") || ($str=="property_management") || ($str=="restaurant") || ($str=="retail")) {
echo "<div><p class=\"nav-helper\"><a href=\"/\">Home</a> | <a href=\"/pest_control_solutions.php\">Specific Solutions</a> | <strong>$pagetitle</strong></p></div>";
} elseif (($str=="specific_solutions") || ($str=="frequently_asked_questions") || ($str=="request_a_quote")) {
echo "<div><p class=\"nav-helper\"><a href=\"/\">Home</a> | <strong>$pagetitle</strong></p></div>";
} else {
echo "";
}
Thanks in advance,
Jason
Last edited by JasonDFR; 06-28-2008 at 08:28 AM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks