GET TIME,SECOND,HOUR, and DATE in mysql – TIMESTAMPDIFF Posted on Nov 28, 2018 /Under MySQL /With 0 Comments /By [crayon-62b9364e6c2f0051810053/]Read more …
set Custom empty message in datatable Posted on Nov 27, 2018 /Under Core PHP /With 0 Comments /By $(‘#accalls’).dataTable({ “language”: { “sEmptyTable”: “Set Custom Message”, // no record in a table “infoEmpty”: “Set Custom Message”, // when search and not found “zeroRecords”: “Set Custom Message”, } });Read more …
Spatie Media Library – laravel Posted on Nov 27, 2018 /Under Laravel /With 0 Comments /By composer require spatie/laravel-medialibrary:^7.0.0 php artisan vendor:publish –provider=”Spatie\MediaLibrary\MediaLibraryServiceProvider” –tag=”migrations” php artisan migrate php artisan vendor:publish –provider=“Spatie\MediaLibrary\MediaLibraryServiceProvider” –tag=“migrations” php artisan migrate Example Avtar. add in register blade file. do not forgot to add > enctype=”multipart/form-data” in form <div class=”form-group row”> <label for=”avatar” class=”col-md-4 col-form-label text-md-right”>{{ __(‘Avatar (optional)’) }}</label> <div class=”col-md-6″> <input id=”avatar”...Read more …