Laravel tutorial #8 Form Validation

Laravel tutorial #8 Form Validation

Code Step By Step

4 года назад

9,705 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SS98.
@SS98. - 06.01.2021 14:03

Is there a way to keep the fields filled when it shows error?

Ответить
@mueezalikhanbscs2866
@mueezalikhanbscs2866 - 06.04.2020 21:35

We explain 😀

Ответить
@jeyzzz696
@jeyzzz696 - 13.12.2019 17:52

where does laravel get the field name that it shows in the errors?

Ответить
@braknay1672
@braknay1672 - 09.12.2019 06:13

i love india

Ответить
@abhishekj4879
@abhishekj4879 - 03.12.2019 11:51

ErrorException (E_ERROR)
Undefined variable: message (View: C:\xampp\htdocs\demo\resources\views\userviews.blade.php)
i wrote a code as u taught but its showing eroor

Ответить
@Jay-eg7yt
@Jay-eg7yt - 26.11.2019 19:08

Where is @csrf @error and {{$message} coming from? Is it because the form action is usercontroller? Are all of the methods in usercontroller via Illuminate? What does usercontroller point to? I don't believe you covered this. Is usercontroller same as UserController.php in the Controllers directory? Are you on twitter? Whats your twitter handle?

Ответить
@Mohit-zr7fd
@Mohit-zr7fd - 06.11.2019 12:50

SELECT * from `users` where (`username` = 'Ram' and `password` = '1234') or (`mobile` = '123456' and `password` ='1234' )


kiase create krenge sir


dynamic query kaise create krte h like
controller se table name, where params etc pass krne pr Model me direct access kr ske




This is wrong query generate
$query = DB::table('users')
->select('*')
->where(['name'=>'Ram','password'=>'1234'])
->orWhere(['mobile'=>'997847','password'=>'1234'])
->get()


select * from `users` where (`name` = ? and `password` = ?) or (`mobile` = ? or `password` = ?)

Ответить
@nghakaralte3796
@nghakaralte3796 - 17.10.2019 10:24

can you show me route

Ответить