Insert input Data And Compare Data Available Or not in the database
$health = $request->input('health');
$tran = $request->input('transportation');
$smoke = $request->input('smoke');
$trial = Trial::select(array('health' => $health, 'transportation' => $tran,'smoke' => $smoke));
//dd($trial);
if(!isset($trial)){
return view('home');
} else{
return view('patient-home.trialresult',compact('health','tran','smoke'));
}
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Wh29xn
via IFTTT
Aucun commentaire:
Enregistrer un commentaire