questions/web-development/laravel/page/4
Hello @kartik, If you have a collection you ...READ MORE
Hii, You can also tell Laravel you want ...READ MORE
Hello @kartik, You can specify custom error message ...READ MORE
Hello @kartik, Using the response helper. use Illuminate\Http\RedirectResponse; $response = $next($request); $response = ...READ MORE
Hello @kartik, Try to use Form::button instead of ...READ MORE
Hello, Never use 777 for directories on your ...READ MORE
Hello @kartik, ou can use strtok to get string before ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Hello @kartik, Since Laravel uses config files to ...READ MORE
Hello @kartik, To get action name, you need ...READ MORE
Hello @kartik, You can calculate the distance in ...READ MORE
Hello, You could create a custom Laravel directive. You ...READ MORE
Hello @kartik, Delete an existing Model $user = User::find(1); $user->delete(); Deleting ...READ MORE
Hello @kartik, find this line in php.ini : ;extension=soap then ...READ MORE
Hii, For Laravel 5, In the tests directory there should ...READ MORE
Hello @kartik, Try the follwing snippet: nano ~/.bash_profile And ...READ MORE
Hello @kartik, Simply running npm install solved it for ...READ MORE
Hello, To create both of the created_at and updated_at columns: $t->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $t->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP on update ...READ MORE
Hello @kartik, You need to import your model ...READ MORE
Hello @kartik, There has been a couple of ...READ MORE
Hello @kartik, Try using this code: public function up() ...READ MORE
Hello @kartik, The best way to solve this ...READ MORE
Hii @kartik, Extend Blade by creating a push once directive as ...READ MORE
Hello @kartik, You should create a new migration ...READ MORE
Hello @kartik, I had a problem with the ...READ MORE
Hello @kartik, You could try this: public function testStoreAction() { ...READ MORE
Hello @kartik, The code below solved my problem: $messages ...READ MORE
Hello @kartik, run rm -rf /usr/local/lib/node_modules/npm and then re-install ...READ MORE
Try this: Suppose you have the following tables ...READ MORE
Hello @kartik, Just add ->where('id', '[0-9]+') to route where you ...READ MORE
Hello @kartik, You can just use the built ...READ MORE
Hello @kartik, If you have the token in ...READ MORE
Hello, You can override the static label method ...READ MORE
Hii, You need to pass it using use. Cache::remember('thumb-'.$hash, 15, ...READ MORE
Hello @kartik, You can try something like this DB::select('exec ...READ MORE
Hello @kartik, If this is your link: <a href="#" ...READ MORE
Hello @kartik, You create realtionship between both table friend and user in ...READ MORE
Hello @kartik, You can pass the route parameters ...READ MORE
Hello @kartik, First you create a MySQL table ...READ MORE
Hello @kartik, Global Scope is available: class Article extends Post { ...READ MORE
Hii, Try this: $response->getSession()->get("errors") And from there you can check ...READ MORE
Hello @kartik, The use keyword is what you need: $id = ...READ MORE
Hello, You can first refer how to Create controller through ...READ MORE
Hello @kartik, You need to change "server.php" to ...READ MORE
Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...READ MORE
Hello @kartik, You can update the cache object ...READ MORE
Hello, Make directory for images in myapp/public/images and ...READ MORE
Hello @kartik, cache:clear artisan command does calls flush function on current ...READ MORE
Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE
Hello @kartik. PHP has built-in extensions for dealing ...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.