// get the info from the listbox
$m = "$_POST[themonth]"; // in full form: September
$d = "$_POST[theday]"; // a 2 digit formatr: 02
$y = "$_POST[theyear]"; // a 4 digit format: 2004
$s = "$_POST[x]"; // a 2 digit (x) number: 20
$v = "$_POST[y]"; // a 2 digit (y) number: 40
$z = $x + $y; // add the numbers in $x to $y to get a new number
$timestamp = strtotime("$m $d, $y"); // get todays date
$h = date('F d, Y', strtotime("$z days", $timestamp)); // add the value of $z to the current date to get a new date $h
?>
this almost works, it gets a new date, but its not quite right. it adds x but not y to the new date.