Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to get the url parameter in blade laravel

Route::get('/posts/{post}/comments/{comment}', function ($postId, $commentId) {
    return view('name of the view')->with('postId',$postId);
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #url #parameter #blade #laravel
ADD COMMENT
Topic
Name
3+7 =