If you're implenting this into vB, you'd want to do something like:
PHP Code:
####### display form #######
if (!isset($_POST['process']) or $_POST['process'] == '')
{
//display vb and form stuff
}
// ###### start insert ######
if (isset($_POST['process']) and $_POST['process'] != '' and $_POST['process'] == 'go')
{
//vb stuff and insert into DB stuff
}
Not sure if that'll be a great deal of help, used it from my mailing list hack