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';
精彩评论