http://localhost/testsetup/index.php/inquiry/index/index
echo "<pre>"; print_r($data); die;
Array
(
[qty] => 1
[product] => 486
)
Case 1. When i press ctrl+f5 (reload the inquiry page) , Array data is there. This is ok for me.
Array
(
[qty] => 1
[product] => 486
)
case 2. Array data is empty. When i hit the URL of page.
Array
(
)
How to solve case 2 so that array data is not empty when i hit the URL.