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.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2wCdRDe
via IFTTT
Aucun commentaire:
Enregistrer un commentaire