Heim > Fragen und Antworten > Hauptteil
foreach ($gjtc as $key=>$val)
{
foreach ($gjtc2 as $key2=>$vals2)
{
if($key['order_id']==$key2['order_id'])
{
}
}
}
写到这里不会写了,我要把2数组sp_tc相加根据1组的ID