Category : solid

I write this code in laravel any one can help me to write it better ? Setting::where(‘key’ , ‘online_course’)->update([‘value’ => $request->get(‘online_course’) ]); Setting::where(‘key’ , ‘read_item’)->update([‘value’ => $request->get(‘read_item’) ]); Setting::where(‘key’ , ‘comment_item’)->update([‘value’ => $request->get(‘comment_item’) ]); Setting::where(‘key’ , ‘rate_item’)->update([‘value’ => $request->get(‘rate_item’) ]); Sourc..

Read more