I use this code for including header.php page in my vb.
PHP Code:
ob_start();
require("swzheader.php");
$header1 = ob_get_contents();
ob_end_clean();
Now I need to include another page swzfooter.php in my vb index, I try some code like this :
PHP Code:
ob_start();
require("swzheader.php");
ob_start();
require("swzfooter.php");
$footer1 = ob_get_contents();
ob_end_clean();
$header1 = ob_get_contents();
ob_end_clean();
but it doesn't works any idea ?