Hi I have a session $_SESSION['pdf_quote'] when i view all values in the session I get all the results correctly but i have one value which displays The value of $_SESSION['product_arr']
is 'Array' I have tried to printr the values of that array but all i get is a blank page...
foreach($_SESSION['pdf_quote']['product_arr'] as $key=>$value)
{
// and print out the values
echo 'The value of $_SESSION['."'".$key."'".'] is '."'".$value."'".' <br />';
}
i've tried everything to try and access the data in the array but for the life of me I can't figure it out.
print_r displays
Array (
[FoodDelivery] => Array (
[FDelivery_Order] => Array ( )
[FDelivery_Captcha] => EAHVZS)
[pdf_quote] => Array (
[id] => 42
[location_id] => 3
[type] => pickup
[status] => pending
[payment_method] => none
[is_paid] => 0
[txn_id] =>
[processed_on] =>
[price_subtotal] => 6300.00
[price_delivery] => 0.00
[price_total] => 6300.00
[voucher_code] =>
[created] => 2013-10-15 08:48:16
[p_dt] => 2013-10-19 08:00:00
[d_address_1] =>
[d_address_2] =>
[d_country_id] =>
[d_state] =>
[d_city] =>
[d_zip] =>
[d_notes] =>
[d_dt] =>
[c_name] => ewqe
[c_email] => weqw@ewewe.com
[c_phone] => 3232323
[c_address_1] => ferwewe
[c_address_2] =>
[c_notes] =>
[c_country] =>
[c_state] => www
[c_city] =>
[c_zip] => 2122
[cc_type] =>
[cc_num] =>
[cc_code] =>
[cc_exp] =>
[product_arr] => Array (
[0] => Array (
[extra_arr] => Array ( ) ) ) ) )
i've tried to loop the array without success im not sure what code i need to use to be able to see the variables stored in the product_arr
array.