Location: PHPKode > scripts > Tab Control > tab-control/Example.page2.php
<?php
include 'tab_control.php';
$tab = new tab_control('ltr');
$tab->set_current(2);
                       
$tab->add_tab(0,'Example.page.php','Tab ','Example Tab Page');
$tab->add_tab(1,'Example.page1.php','Tab 1','Example Tab Page 1');
$tab->add_tab(2,'Example.page2.php','Tab 2','Example Tab Page 2');

echo $tab->get_out();

?>
Return current item: Tab Control