I have a form with lots of drop down selection boxes. Let's say these variables are $A, $B and $C. The form submit button POSTS the variables to SELF. I need to create a function ("additem") that will combine the variables $A, $B and $C into variable $D. Then POST those variables to another php page, let's call it cart.php.
Code: Select all
function additem($A, $B, $C){
$D = $A + $B + $C;
//now how do i post $D to cart.php and leave this page
}