Laravel Knowledge
1What is differenece between has() and hadFile()
Ans:$request->has('field') is only for the check the file value is empty or not
$request->hasFile() is check the input value as file or not.
2.What is middleware
Ans:middleware is check all the input http request from server.It work as middle man types of work in laravel.
Three Types
1.Global
2.Group
3.Routs
3.
Comments
Post a Comment