I have array of id's. I am getting id's in string in $user_id.
$array=explode(',', $user_id);
echo http_build_query($array);
It outputs 0=3&1=4 but when I Pass $array as a parameter to controller function via url like this..
<?php echo base_url()."index.php/requesthandler/cancelRequest/$payment_id/$booking_id/$array";?>
And when I print_r($array) in controller it gives me output only string that is 'Array'.So how do I Pass that array to controller function via url?? $booking_id and $payment_id are other parameters for that function.