I did a slight modification to the code so it will be clearer...
//start header.inc
<?
str_crumbs = "home";
echo str_crumbs;
?>
//end header.inc
//start index.php
<?
include header.inc;
str_crumbs .= " > request";
echo "<br>" . str_crumbs;
?>
//end index.php
I want the output to be:
home > request
home > request
what it is doing instead is:
home
home > request
I know why it is doing the second, but I wanted to know if it was possible to make it so it would do my first output. I want to somehow buffer the values till all the code is processed then print it on the screen after.