HDTuto.com

Latest Articles


How to retrieve random records in Laravel 5.6?

Hi guys, A few days ago I was working on my new laravel 5.6 application and I require to get random products rows from MySQL database using laravel eloquent. I was thinking to use rand() of mysql in laravel but i checked laravel 5 documentation and i found that laravel provide inRandomOrder(). inRandomOrder() will help to retrieve random rows from database table. we can simple use like use get(),.....

Posted On May 23, 2018

PHP Ajax Autocomplete Search from Database Example

in this article, we will create ajax search autocomplete using php mysql and jquery. we will use jquery ajax for autocomplete with textbox. As we know in today. ajax is more use in php development and also other language project. ajax make quick response without page refresh. so in this example we will create free script of ajax autocomplete search with php mysql database. so basically. you nee.....

Posted On May 16, 2018

How to convert date format in PHP?

Hi Guys, Today, i will let you know how to change date format like Y-m-d to d-m-Y or yyyy-mm-dd to dd-mm-yyyy etc as you want to change. So no worry here you will see simple and easy example for php developer. Actually, i was working on my old core php project and i need to change date format Y-m-d to d-m-Y. we always use date picker and we need to convert date formate for save data in mysql data.....

Posted On May 8, 2018

Pagination Searching and Sorting of data table using Angularjs PHP MySQL

Hi Guys, In this tutorial, you will learn how to build search sort and pagination of data table in Angularjs app using php mysql. i will help to make simple app with dynamic data get from database and do it searching table data, sorting table fields and pagination table data. here we will use dirPagination.js for pagination. In this tutorial, we require to create index file and write code for la.....

Posted On April 27, 2018

Ajax multiple image upload using bootstrap-fileinput in PHP

ajax is an important part in web development. here i will share with you to upload multiple images with preview using bootstrap-fileinput in PHP. this tutorial covers steps to upload multiple images with preview and also upload with process so you can see how much is left. Bootstrap fileinput is a bootstrap plugin. bootstrap-fileinput provide us to upload multiple images or file using dropzone js.....

Posted On April 14, 2018