-1

ヘッダーにエラーが表示されています(場所......)。エラーは、header('location:companies.php?rates=1'); と同じ行にあります。書かれた

"DestinationState"  => $_SESSION['order'][$counter]['t_stateID'],
    "DestinationZipcode"=> $_SESSION['order'][$counter]['t_zipcode'],
    "Details"           => array('DetailItem' => array( 'Weight' => $_SESSION['order'][$counter]['weight'],'Class' => '55')),
    "Accessorials"      => array('AccessorialItem' => array('Code' => 'LiftgateService')),
    "CODAmount"         => "100",
);

//print('<pre>');print_r($params);die;
   $return = $client->Create(array('request'=>$params));
  // $return = $client->Create($params);
   //$return  = $client->__call('Create', $params);
   //print('<pre>');print_r($return);die;
   $counter=0;
   $_SESSION['Saia'][$counter]['Amount']  = $return->CreateResult->RateDetails->RateDetailItem->Amount;

}
}
}   


header('location:companies.php?rates=1');
?>
4

2 に答える 2