ok, then you will need to edit the rsaddselected recordset ti include the FirstNumberID column and change the code to:
$rainbowcart_itemQuantity = floatval("".((isset($_POST["quantity_".$row_rsaddselected['FirstNumberID'].""]))?$_POST["quantity_".$row_rsaddselected['FirstNumberID'].""]:"") ."");