i have Session in my Controller store
public function store(Request $request)
{
\Session::push('store_pos.items',$request->all());
print_r(\Session::get('store_pos.items')); // This is show array
exit;
}
public function create()
{
$items = \Session::get('store_pos.items');
print_r($items); // in this syntax not show array
}
why session in function create not show ? I've been using the session put but still does not appear
Thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire