<?php
mysql_select_db($database_boss, $boss);
$button = $_POST;
$quantity = $_POST;
$proid = $_GET;
$result2 = "UPDATE productorder SET Product_quantity = '$quantity' WHERE proid = '$proid'";
mysql_query($result2);
?>

Are you sure that the GET is fetching value? Apply a break-point there and see whether GET is receiving value correctly or not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.