📜  laravel 保留旧输入 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:56.930000             🧑  作者: Mango

代码示例1
You can access the last inputs like so:

$username = Request::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