questions/web-development/laravel/page/2
Hello @kartik, Inside controller inject Request object. So ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Hello @kartik, Use merge(): $request->merge([ 'user_id' => ...READ MORE
I had this problem lately with my ...READ MORE
You just have to pass all the ...READ MORE
Hello @kartik, Code row updates like this: ...->update( array( ...READ MORE
Hello @kartik, Using hidden array in model is good, but ...READ MORE
Hello @kartik, you can use json_decode function foreach (json_decode($response) as $area) { ...READ MORE
Class ‘App\Http\Controllers\Auth’ Not Found in Class ‘App\Http\Controllers\Auth’ not ...READ MORE
Hello @kartik, You can use less code, writing ...READ MORE
Hello @kartik, Your route is: Route::patch('users/update', 'UsersController@update'); replace your route ...READ MORE
Hello @kartik, For Guzzle 5, 6 and 7 you do ...READ MORE
Hello @kartik, Assigning the ASP.NET Session Variable using ...READ MORE
Hello @kartik, It's not really Eloquent, to add ...READ MORE
Hello @kartik, The issue is route parameters aren't ...READ MORE
Hello @kartik, If it isn't already there, create ...READ MORE
Hello @kartik, You can get the current user's ...READ MORE
Hello @kartik, You can make a route specifically ...READ MORE
Hello @kartik, Use middleware for this purpose and ...READ MORE
Hello @kartik, The simplest way is just to ...READ MORE
Hii @kartik, When we use the php artisan serve ...READ MORE
Hello @kartik, You can create a new storage ...READ MORE
Hello @kartik, This will work: ...READ MORE
Hello @kartik, You need to run php artisan migrate:rollback if ...READ MORE
You can get all columns name by ...READ MORE
Hello @kartik, In Laravel 3, call path('storage'). In Laravel 4, ...READ MORE
Hello @kartik, You would want to use ->forget() $collection->forget($key); Hope it ...READ MORE
Hii, You can use Conditions using Array: $users = User::where([ ...READ MORE
Hii @kartik Routes Use them to define specific routes ...READ MORE
You can use unique Example 'email' => 'unique:users,email ...READ MORE
Hello @kartik, Try changing your headers to this: $headers ...READ MORE
Hello @kartik, The error message is due to ...READ MORE
Hello @kartik, First, if you want to have ...READ MORE
Hello @kartik, You can use if(DB::connection()->getDatabaseName()) { echo ...READ MORE
Hello @kartik, Just try this in your view ...READ MORE
Hello @kartik, You can use this type of ...READ MORE
Hello @kartik, It seems Laravel is trying to ...READ MORE
Hello, with() function is used to eager load in ...READ MORE
Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE
Hello @kartik, You may rename the test folder ...READ MORE
Hello @kartik, You can use relations as query ...READ MORE
Hello @kartik, The cleanest way to know the ...READ MORE
Hello @kartik, You can use the blade template ...READ MORE
Hello @kartik, Try this after you have run ...READ MORE
Hello @kartik, The only thing that you have ...READ MORE
Just add it as the 3rd argument: {{ ...READ MORE
Hii, You can created the function below: public static ...READ MORE
You could create another disk for Storage ...READ MORE
Hello @kartik, You can change: @if (Cookie::get('cookiename') !== false) to @if ...READ MORE
Hello @kartik, You can use error_get_last() when mai l()returns false. $success = mail('example@example.com', ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.