Комментарии:
Is there a way to keep the fields filled when it shows error?
ОтветитьWe explain 😀
Ответитьwhere does laravel get the field name that it shows in the errors?
Ответитьi love india
Ответить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
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?
Ответить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` = ?)
can you show me route
Ответить