I'm pulling the url parameter and I'm trying to create a breadcrumb out of it. So, if I pull:
$url = 'contact/jane/now';
and I do:
$path = explode("/",$url);
How can I put it in a loop so that it breaks each part into a path like this:
<a href="/contact">contact</a>
<a href="/contact/jane">jane</a>
<a href="/contact/jane/now">now</a>