I seem to remember some HTML thing about combining forms and tables, I think you have to have the table completely within the form. So maybe try moving the print_form_header to the beginning?
ETA: also, don't you need to get the varaibles from the input? If you call one of the "clean" functions in your second page script it will check them and put them in $vbulletin->GPC. Here's a small section from admincp/subscriptions.php:
PHP Code:
$vbulletin->input->clean_array_gpc('p', array(
'sub' => TYPE_ARRAY,
'forums' => TYPE_ARRAY_BOOL,
'membergroup' => TYPE_ARRAY_UINT,
'options' => TYPE_ARRAY_UINT,
'adminoptions' => TYPE_ARRAY_UINT,
'shipping' => TYPE_UINT,
'title' => TYPE_STR,
'description' => TYPE_STR,
));
if ($vbulletin->GPC['shipping'] == 2)
{
$vbulletin->GPC['options']['shipping1'] = 1;
}
else if ($vbulletin->GPC['shipping'] == 4)
{
$vbulletin->GPC['options']['shipping2'] = 1;
}
You can probably follow an example using one of the files from admincp (if you're not already). You may find it easier to use one script for both pages and set "do" to what you want to do, like in the vB scripts.