In logged.php:
$TPL->NavBar('active',' ');
In class.template.php:
public function NavBar($home,$about) {
$this->Content('navigator_bar');
}
In navigator_bar.php:
<li class= <?php $home ?> ><a href="home">Home</a></li>
<li class= <?php $about ?> ><a href="about">About</a></li>
Is that possible to link $home and $about variables into a new file.php?
Use request methods such as $_GET,$_POST,$_REQUEST to send data to your new_file.php
or
set the variables in session to get it in your new_file.php
IN SESSION: