I am sending the URL in below code
$checkboxes = http_build_query($checkbox);
echo "<script> document.location.href='index.php?act=magento&checkboxes=".$checkboxes."';</script>";
I am getting URL below
http://localhost/importcsvproduct/index.php?act=magento&checkboxes=0=15&1=16&2=17&3=18&4=19&5=20&6=21&7=22&8=23&9=24
My question is how to receive this above checkboxes array?
My output of array $checkbox is below
Array
(
[0] => 15
[1] => 16
[2] => 17
[3] => 18
[4] => 19
[5] => 20
[6] => 21
[7] => 22
[8] => 23
[9] => 24
)