Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

use session in laravel

$data=[
            'name' => $request->input('name')
             ];
        session(['data'=>$data]);  
$data=Session::get('data');
        $data1=[
            'email'=>$request->input('email')
             ];
             $data=array_merge( $data, $data1);
             session(['data'=>$data]); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #session #laravel
ADD COMMENT
Topic
Name
6+8 =