Hi,
I’ve been wracking my brain on this one but there is probably a simple solution. I want to define a variable, and pass it into and array. For example below I want the contact id to be something like $contactID. Is this possible, and if not how do I get a dynamic value in that array? Thank you!
array(
‘id’ => uniqid(),
‘method’ => ‘getLastVisit’,
‘jsonrpc’ => ‘2.0’,
‘params’ => array(
‘contact_id’ => 305707747,
‘contact_segment_id’ => 227894,
)