私はこの配列を実行しようとしたが、私はここでは、このエラーにPHPの配列構文エラー
Parse error: syntax error, unexpected '=', expecting ')' in C:\wamp\www\soap-service\AnchorSoapClient.php on line 75
を取得するたびに私のPHPコードです:
public function submitorder(){
$this->init();
$result = $this->soapClient->SubmitOrder(array('SO'=>array('Flag_Rush_Order'=>'','Date_Ship_By'=>0,'Shipping_Charge'=>0), 'SO_Detail'=>array('SalesOrderDetail'=>
array('Product_Seq_Id'=>0,'Order_Quantity'=>0,'Ship_Quantity'=>0,'Unit_Price'=>0,'Discount'=>0,'Extension'=>0,'Customer_ID'=>''),'Flag_All_Complete'=>'','Ship_method_Seq_Id'=>0,'Store_Name'=>'','Store_Message'=>'','Store_Street'=>'','Store_City'=>'','Store_State'=>'','Store_Zip'=>'','Store_Country'=>'','Intl_Tax_Number'=>'','Intl_Tax_Description'=>'Intl_Tax_Description','Intl_Tax_Amount'=>0,'Special_Instruction'=>'','Date_Shipped'=>'Date_Shipped'));
return $result;
}
、これはライン78のコードです:
$result = $this->soapClient->SubmitOrder(array('SO'=>array('Flag_Rush_Order'=>'','Date_Ship_By'=0,'Shipping_Charge'=>0), 'SO_Detail'=>
PHPではあまりよくありません。
' 'Date_Ship_By' = 0を逃した' –
ので、 => – WebInsight
***プロのヒント:***あなたの必要条件が緊急であるとは言いません。質問に答える人々はあなたと同じように、忙しい人生のボランティアです。 –