Пример #1
0
 public function submitreview()
 {
     $pc = Request::get('pc');
     $name = Request::get('username');
     $type = Request::get('type');
     $rating = Request::get('rating');
     $review = Request::get('review');
     Rating::insert(['Postcode' => $pc, 'Type' => $type, 'Name' => $name, 'Rating' => $rating, 'Review' => $review]);
     return view('welcome');
 }