app/Http/Controllers/Create_tripController.php
//show detail of members using user_email by showOneUser@UserController or by this function
show detail of members using user_email by showOneUser@UserController or by this function
show detail of members using user_email by showOneUser@UserController or by this function
public function members_detail($email)
    {
        $user = User::where('email', $email)->first();
        return response()->json($user);
    }
public function members_detail ( $ email ) { $ user = User :: where ( 'email' , $ email ) -> first ( ) ; return response ( ) -> json ( $ user ) ; }
show detail of members using user_email by showOneUser@UserController or by this function
show detail of members using user_email by showOneUser@UserController or by this function