I have an array that looks like this:
Array (
[TIMESTAMP] => 2012-01-04T21:36:32Z
[CORRELATIONID] => 4564e64d7f75f
[ACK] => Failure
[VERSION] => 51.0
[BUILD] => 2278658
[L_ERRORCODE0] => 10764
[L_SHORTMESSAGE0] => This transaction cannot be processed at this time. Please try again later.
[L_LONGMESSAGE0] => This transaction cannot be processed at this time. Please try again later.
[L_SEVERITYCODE0] => Error
[L_ERRORPARAMID0] => ProcessorResponse
[L_ERRORPARAMVALUE0] => PPAV
[AMT] => 25.00
[CURRENCYCODE] => USD
[AVSCODE] => N
[CVV2MATCH] => M
)
If i wanted to echo out the value for [L_LONGMESSAGE0] (which is ‘This transaction cannot be processed at this time. Please try again later’), how would I do this using php?
To be even more clear, i am getting this array from PayPal when i use this command:
urldecode(print_r($httpParsedResponseAr, true))
So, given that that command produces the array shown above, how would I echo out [L_LONGMESSAGE0]?
Thanks in advance for your help
Assumption: This array is inside an
$arrvariable.