I have passed a value from one page to another in array. I can extract first two vars by explode but I can\'t get the third value which is formed in an array out.
This i
You could serialize your array parameters before you pass it. Then unserialize them on the 2nd page.
serialize
unserialize
$rate = serialize($rate);
On your 2nd page before you run it through the loop:
$rate = unserialize($rate);