Print variable above
<p>Not the best name for a thread but still...</p>

<p>I got</p>

<pre><code>&lt;?php include('inc/nav_bar.php'); ?&gt;
...
&lt;?php
    main code block
?&gt;
</code></pre>

<p>I need to print one variable from "main code block" to "nav_bar" block,
is there is any good way to do this ?</p>

<p>The only solution I've found so far is to use javascript.</p>
