开发者

How to put value between two tag in xml request using nusoap?

$param=array('EVRN_UnitResRQ',
'Customer'=>array('PersonName'=>array('GivenName'=>'Ryan','Surname'=>'Trayers'),'Telephone'=>array('PhoneTechType'=>'1','CountryAccessCode'=>'1','AreaCityCode'=开发者_开发百科>'206','PhoneNumber'=>'8320246'),'Email'=>array('DefaultInd'=>true),)))) )),

This is my sample array in this i want to put or assign value of email like <email>example@test.com</email>, How can i assign that. i am using nusoap web service i pass array as argument in soap client.


$param=array(
 'EVRN_UnitResRQ', 
 'Customer'=>array(
 'PersonName'=> array('GivenName'=>'Ryan','Surname'=>'Trayers'),
 'Telephone'=>array(
   'PhoneTechType'=>'1',
   'CountryAccessCode'=>'1',
   'AreaCityCode'=>'206',
   'PhoneNumber'=>'8320246'),
 'Email'=>array('DefaultInd'=>true),)))))),

assigment: $param['Email'] ='test@example.com';

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜