cara mendapatkan variabel dari url di laravel
request('variable')
Mohamad
request('variable')
/** resources/my_view.blade.php */
{{ request()->id }}
/** resources/my_view.blade.php */
{{ request()->id }}
{{ app('request')->input('a') }}
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);