MCQs > Website Designing & Development > Laravel Framework > How to route when using URL query string?

Laravel Framework MCQs

How to route when using URL query string?

Answer

Correct Answer: //routes.php Route::get('stats', 'StatsController@index'); //StatsController public function index() { if(Input::has('name') and Input::has('device'))) return $this->store(); // Show stat ... } public function store() { $input = Input::only('name', 'device'); // Store stat ... }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Laravel Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Laravel Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it