You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$result = mysqli_query($con,"INSERT INTO product SELECT product_id, product_name, product_price, product_image, product_code FROM staffproduct WHERE product_id=$id");
$sql = "UPDATE staffproduct SET product_status='Available' WHERE product_id=$id";