martialtiger
03-01-2007, 08:37 PM
Hi All,
I have scoured the net and still have not been able to find anything that would help me with this. I want to convert this
MapEntry[] myData = new MapEntry[2];
myData[0] = new MapEntry();
myData[0].setKey("first");
myData[0].setValue("My first name");
myData[1] = new MapEntry();
myData[1].setKey("last");
myData[1].setValue("My last name");
to php. I tried the following but the API I am does not appear to like it.
$subscriber_data = array();
$subscriber_data = array('firstName' => 'JM','lastName' => 'TEST');
Thanks in advance!
I have scoured the net and still have not been able to find anything that would help me with this. I want to convert this
MapEntry[] myData = new MapEntry[2];
myData[0] = new MapEntry();
myData[0].setKey("first");
myData[0].setValue("My first name");
myData[1] = new MapEntry();
myData[1].setKey("last");
myData[1].setValue("My last name");
to php. I tried the following but the API I am does not appear to like it.
$subscriber_data = array();
$subscriber_data = array('firstName' => 'JM','lastName' => 'TEST');
Thanks in advance!