my first code line is
Session::put('step_1', array('security' => 'yes'));
2nd is
$vat=10;
\Session::push('step_1.vat',$vat);
my current output:
Array
(
[security] => yes
[vat] => Array
(
[0] => 10
)
)
My Desired Output:
Array
(
[security] => yes
[vat] => 10
)
hot to achieve my desired output, please suggest, thanks.
You could simply use