受注高同時販売ソリューション(PHP)
1441 ワード
fetch_assoc();
if($row['number']>0){//
if($row['number']=0";
$store_rs=mysqli_query($conn,$sql);
if($store_rs){
//
insertOrder($order_sn,$user_id,$goods_id,$sku_id,$price,$username,$number);
insertLog(' ',1,$username);
}else{
insertLog(' ',2,$username);
}
}else{
insertLog(' ',3,$username);
}
?>