redirect into a tab

I have a PHP script as the content of a tab.
I’d like to use a select form element in order to redirect to a specific page into the same tab.

My code follows:

[code]

<? if (!isset($_GET["anno"])) { $anno = date("Y"); } else { $anno = $_GET["anno"]; } ?>
<? $res_MinAnno = mysql_query("SELECT YEAR(Data) FROM table1 ORDER BY Data ASC LIMIT 1"); $MinAnno = mysql_fetch_row($res_MinAnno)[0]; ?> Anno: <? for ($i = date("Y"); $i >= $MinAnno; $i--) { echo "".$i.""; } ?>
tabbar = new dhtmlXTabBar('a_tabbar', 'top'); tabbar.setSkin('default'); tabbar.setImagePath('dhtmlxSuite/dhtmlxTabbar/codebase/imgs_personal/'); tabbar.enableTabCloseButton(false); tabbar.addTab('a1', 'Tab1', '*'); tabbar.addTab('a2', 'Tab2', '*'); tabbar.addTab('a3', 'Tab3', '*'); tabbar.addTab('a4', 'Tab4', '*'); tabbar.setHrefMode('iframes-on-demand'); tabbar.setTabActive('a1');
        tabbar.setContentHref('a1', '<? echo file1.php?anno=<? echo $anno; ?>');
        tabbar.setContentHref('a2', '<? echo file2.php?anno=<? echo $anno; ?>');
        tabbar.setContentHref('a3', '<? echo file3.php?anno=<? echo $anno; ?>');
        tabbar.setContentHref('a4', '<? echo file4.php?anno=<? echo $anno; ?>');
    </script>
</div>
[/code]

Please…help meeeeeeeeeee

You may use setContentHref method to define the new path. getActiveTab() method returns the id of active tab.