Hello there guys so first of all, I have this code:
$crumbs = array();
$crumbs[] = "<a href=\"/\">Triple O Dental Laboratory</a>";
if (is_array($GLOBALS["cookie_crumbs"])) {
foreach($GLOBALS["cookie_crumbs"] as $mycrumb) {
$mycrumb[1] = str_replace("//","/",$mycrumb[1]);
$crumbs[] = "<a href=\"".$mycrumb[1]."\">".$mycrumb[0]."</a> > <a href=\"#\">Smile TRU</a>";
}
}
print "<div class=\"cookie_crumbs2\">\n";
print implode(" > ",$crumbs);
print "</div>\n";
Now the problem is, i am trying to remove this part of the code:
> <a href=\"http://stage.tripleodentallabs.com/laboratory/smile-tru/\">Smile TRU</a>";
But only from the LAST item in the array, so pretty much at the moment its getting output like this: http://puu.sh/74ure.png
But I want the " > big one" taken away from the last item which is "Accreditation Video".