In this artical, i would like to show you how to compress image before upload in codeigniter application. we will reduce size and resize of image in codeigniter. we can compress image like png, jpg, jpeg, gif etc. This example will help you to reduce size of image file like, if user uploaded 2mb file then it will compress in 400kb or something as you want less compress. You have to just follow .....
I will let you know multiple image upload in codeigniter with simple example. you can learn php codeigniter upload multiple images and store to database. we will use upload library for upload multiple files in codeigniter. We almost need to implement multiple images or files feature in our project. so you can simply understand and you can implement your existing project with multiple file uploa.....
In this artical, i will let you know how to detect mobile or desktop browser in laravel 5 application. we will use jenssegers/agent package for detect device. we can easily detect device mobile or tablet or desktop. jessenger ajent plugin provide method to get all user agent values with their pre define function by package. they provide function like isMobile(), isTablet(), isDesktop() and device.....
we will learn how to install yajra datatables in laravel 5.8 application. datatables is a javascript library and that provide search, pagination, ordering, sorting and etc. we will use yajra composer package for datatables in laravel 5.8 project. yajra provide method to send data and filter using ajax. so let's follow this article and learn how to install yajra datatables. You have to just follo.....
In this article, you will learn how to create ajax pagination with laravel 5.8 project. i will describe step by step tutorial of laravel 5.8 ajax pagination. as we know jquery is more use in live project. so better is if you use ajax with your project then it will run smooth. just see this post and do it js ajax pagination in laravel 5.8 project. In this example, we simply create "items" table .....
Today's leading topic is laravel 5.8 get current user details using auth. i will show you how to get current logged in user id, name, email, created_at, role etc using auth() helper or Auth facade class. we can easily get auth user data using auth helper in laravel 5.8 application. we almost need to get current logged in user data because we need to some restrict to pages or get only login user .....
Today, i will show you how to create ajax crud module with bootstrap modal & pagination in laravel 5.8. we can build ajax create read update and delete records in laravel 5.8. we will use yajra datatable to list a data on index page with sorting, pagination and searching. I will create product module with jquery ajax crud operation in laravel 5.8. you can follow this tutorial and easily make ajax.....
Just tomorrow i was installing laravel 5.8 and run migration at that time i got specified key was too long error in migration. you can see it was same error bellow message: "SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))" Than i checked with user table migration but over.....
In this tutorial, Laravel 5.8 image upload with validation is a topic. we will learn how to upload and display image in laravel 5.8. i will show you step by step to create image upload example with laravel 5.8. we can simply add image upload validation like image, mimes, max file upload etc, So you can easily understand and you it simply. In this example, we will create two routes one for get me.....
In this example, i will show you how to send ajax request in laravel 5.8. we can easily send jquery ajax request like post request, get request, put request, delete request etc. You will learn how to write ajax request code in view file and how to pass data from view to controller using ajax in laravel 5.8. you can easily also send json response. If you are using post request then you must have .....