HDTuto.com

Latest Articles


PHP Codeigniter 3 - JQuery Ajax Form Validation Example

Hi Guys, Today we will learn how to add ajax form validation in codeigniter using javascript. we will create contact us form and form submit using ajax in codeigniter 3 app. we will use validation library of codeigniter and print error messages using ajax. We will implement server-side validation rules in codeigniter application on form submission using ajax. It is very simple to use ajax valid.....

Posted On June 5, 2018

Laravel 5.6 - Registration Form Validation with Error Messages

In this PHP Laravel 5.6 Tutorial, We will learn how to implement custom signup form validation with error messages from scratch. We will create registration form with "name", "phone", "email", "password", "unique", "min", "max" and "confirm_password" field and I am going to apply validation rules to each input fields of sign up form. So just follow bellow full example: <strong class="step-up">S.....

Posted On June 4, 2018

PHP Laravel 5.6 - Website Scraper using Goutte

In this tutorial, i will let you know how to website scraping in laravel application using Goutte package. i will explain step by step tutorial for web data scraping in laravel 5.6 application. Web scraping, also known as data mining, web harvesting, web data extraction, or screen scraping is a technique in which a program extracts large amounts of data from a website. As we know in the world the.....

Posted On May 25, 2018

PHP Laravel 5.6: Class 'MongoDB\Driver\Manager' not found

In this tutorial, you will find the solution for this issue FatalThrowableError in Client.php line 81: Class 'MongoDB\Driver\Manager' not found, If you also fetch this issue with mongodb using jenssegers/laravel-mongodb composer package then you can solve your issue from here. When you are going to connect MongoDB database with any PHP application then you can face this issue if you don't have P.....

Posted On May 24, 2018

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