How do I rewrite this?
command=v&amount=<amount>¤cy=<currency>&client_ip_addr=<ip>&description=<desc>&language=<language>&msg_type=SMS(&<property_name>=<property_value>)
into this?
$post_fields = array(
'command' => 'v',
'amount' => $amount,
'currency' => $currency,
'client_ip_addr' => $client_ip_addr,
'description' => $description,
'language' => $language,
'msg_type' => "SMS(&${property_name}={$property_value}"
);
I'm curious about last part of the parameters. SMS(
is it an array or something? did I write correctly inside array?