shoping cart help

how do I update my quantities in a shoping cart? I’m using sessions and want to unset the
quantity var and post the new one, but I’m lost for code. any help will do here is some of my code.

<?php foreach($_SESSION[qun] as $key => $value) {?><input type="text" size="3" style="height:18px;font-size:12px;"
        value="<?php print "$value"; ?>"

$_SESSION[‘Index’] = Value;

Sponsor our Newsletter | Privacy Policy | Terms of Service