'.$name.' Quantity '.$mqty.' updated successfully for the Dealer Order '.$ref_no.' '; exit; }else{ $amount = $edt_qty * $set_sub['price']; $mqty = $edt_qty.' + 0'; $update = "UPDATE tbl_dealer_ef_sub set qty='$edt_qty', free_qty='0', tot_price='$amount', `qty_edit`='yes' WHERE order_id='$bill_id' and id='$sub_id'"; mysqli_query($conn, $update); echo '
Quantity '.$mqty.' updated successfully for the Dealer Order '.$ref_no.'
'; exit; } }else{ echo '
'.$name.' Quantity not updated, contact Tech Team.
'; } ?>