Match Insert Field data and database data. if true show success page.
public function trialquestion(Request $request){
$user1 = DB::table('trial')->where('health', $request->health)->select('health', 'transportation','smoke')->get();
$user = $request->input('health');
$user = $request->input('transportation');
$user = $request->input('smoke');
//dd($user1,$user2,$user3);
dd($user1);
return view('patient-home.trialresult',['user' => $user]);
}
Match Insert Field data and database data. if true show success page.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire