I have:
$request = Array
(
[ID] => 2264
[SUCCESS] => Array
(
[0] => Array
(
[MESSAGE] => Service Details
[LIST] => Array
(
[retail_name] =>
[credit_admin] => FREE
[credit] => 0
[discount_admin] => 0
[discount] => 0
[cartdiscount] => 0
If I do:
echo $request[ID]; // it says: 2264
echo $request[SUCCESS]; // it says: Array
echo $request[SUCCESS][0][MESSAGE]; // it says: Service Details
But I need to echo "credit" and if I do:
echo $request[SUCCESS][0][LIST]; // I get ERROR
echo $request[SUCCESS][0][LIST][credit]; // I get ERROR
I dont understand why? How can I do it? Thank you
echo $request['SUCCESS'][0]['LIST']['credit'];if it won't work post your error too"or'