PHP问题,在某些页面上显示正斜杠但不在其他页面上显示

I've got a php echo which I'm using to echo out image banners on a zen cart based system.

<hgroup id="cat_banner" style="background-image:url(images/categories/banners<?php echo"/"; echo strtolower(str_replace('&','and',str_replace(' ','_',$breadcrumb->last()))); ?>_banner.jpg);">

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php

// categories_description

    if ($current_categories_description != '') {

?>

<p id="indexProductListCatDescription" class="content"><?php echo $current_categories_description;  ?></p>

<?php } // categories_description ?>

it is not showing the / on some images but is showing it on others and displaying the image.

$path = strtolower(str_replace('&','and',str_replace(' ','_',$breadcrumb->last())));
<hgroup id="cat_banner" style="background-image:url("images/categories/banners/".$path."_banner.jpg)>