# Passing var

**URL:** <https://forum.kirupa.com/t/passing-var/75360>\
**Category:** Uncategorized\
**Created:** [January 8, 2005, 12:52am UTC](https://forum.kirupa.com/t/passing-var/75360 "2005-01-08T00:52:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rockstar](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rockstar](https://forum.kirupa.com/u/Rockstar)\
**Post date:** [January 8, 2005, 12:52am UTC](https://forum.kirupa.com/t/passing-var/75360/1 "2005-01-08T00:52:43Z")

</div>

Hi

I have this problem:  
Lets say I have index.php  
Inside index.php i have these lines of codes:

include\_once (“breadcrumbs.inc”); // to include breadcrumbs  
include\_once (“main\_template.inc”); // insert the main layout  
$breadcrumbs = $detail; // which breadcrumb that I want to insert  
$subject2 = “This should appear”;

Then inside breadcrumbs.inc i have these:  
$detail="  
\<div\>\<a href=“index.php”\>Home\</\>a\</div\>  
\<div\>\<a href=“myworksmotion.php”\> " . $subject2 . "\</a\>\</div\>  
";

But when I test it, it wont show “This should appear” on the brecrumbs location.

Any idea?
