your form works fine getting the information from ups now all you have to do is get the information to the next page or whatever, and you can use post it to the next page the use the insert statement to get it into your database, you may have to use variables differently depending on server settings, but if register_globals is on you can do it this way
<?
$conn = mysql_connect("localhost", "user", "pass") or die ("Could not connect to database!");
$db = mysql_select_db("database") or die ("Could not select database");
$query = "insert into table tablename (field1, field2) values
('$formfieldname1', '$formfieldname2');";
$result = mysql_query($result);