Re: [PHP-DB] VAR_DUMP INTO PHP VARIABLES
[email protected] (Toby Hart Dyke) Thu, 19 Jun 2014 06:18:06 -0400
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
If you have the response in a variable, $response:
$responseCode = $response[return]['responsecode'];
$responseMessage = $response[return]['responseMessage'];
$transactionID = $response[return]['transactionID'];
This isn't really the right list to ask this question - nothing to do
with databases!
Toby
On 6/19/2014 1:40 AM, Oriole Computing wrote:
> dear List,
>
> we have the following var_dump output from a soap response
>
> array(1) {
> ["return"]=>
> array(3) {
> ["responseCode"]=>
> string(1) "3"
> ["responseMessage"]=>
> string(39) "Duplicate RequestID, Transaction failed"
> ["transactionID"]=>
> string(21) "104454061823201453721"
> }
> }
>
>
> could you advise us how we can get responseCode, responseMessage and
> transactionID into individual php variables?