Laravel menjaga input lama


You can access the last inputs like so:

$username = Request::old('username');

<input type="text" ... value="{{ old('username') }}" ... >.

As described in the docs it is more convenient in a blade view.

Check: https://laravel.com/docs/5.3/requests#old-input
Valentino_Rossi