Location: PHPKode > scripts > Tab Control > tab-control/Example.php
<?php

include 'tab_control.php';

$tab = new tab_control('ltr');
$tab->set_current($_GET[tabid]);
$tab->add_tab(0,'Example.php?tabid=0','Tab 1');
$tab->add_tab(1,'Example.php?tabid=1','Tab 2','Example Tab 2');
$tab->add_tab(2,'Example.php?tabid=2','Tab 3','Example Tab 3');
$tab->add_tab(3,'Example.php?tabid=3','Tab 4');
echo $tab->get_out('Welcome');
?>
Return current item: Tab Control