Reputation: 74
I can see it is there, but can't figure out the syntax to get it out? When I issue the following:
print_r( $_COOKIE );
The response looks like this. How do I get it out?
[HonoluluRealEstate] => Array
(
["ListPriceMin"] => 800000
)
Upvotes: 0
Views: 38
Reputation: 46900
echo $_COOKIE["HonoluluRealEstate"]["ListPriceMin"];
Feel tired after making so much effort :) And I can bet 5 cents that that is not the actual output of print_r
or else those quotation marks wouldn't be there.
Upvotes: 2