Laravel, jeśli prośba
if ($request->has('name')) {
//
}
MrDracoula
if ($request->has('name')) {
//
}
@if (request('category'))
<input type="hidden" name="category" value="{{ request('category') }}">
@endif
if ($request->has('name')) {
//
}
dd($request->all());
//print an array of the input name and the input value