Latest Articles

How to check where not null query in Laravel Eloquent?

I was working on my laravel 5.6 application on this Sunday and I require to use a not null query with where condition in laravel eloquent. I mean I need to get all data that not null from the users table. So basically I know how to check not null in MySQL query but I didn't know how to retrieve data using laravel query builder. But I read laravel docs and got it we can do it using "whereNotNull(.....

Posted On March 27, 2018

How to get current URL Location in Angularjs?

Here, you will learn how to get current url, hostname, port number, protocol etc using $location variable in angularjs. i gave you full example of getting current full url with port number, protocol etc with angularjs, so just see bellow code how i write example. we just create "HDTutoApp" app and "HDTutoCtrl" controller for example to getting current full path. So you need to just copy bellow .....

Posted On March 26, 2018

How to convert number to words in Angularjs?

Hi Guys, In this article i will let you know how to convert number into words in AngularJS. we will create "word" filter for convert amount in numbers to words in angularjs. i provide very simple example for convert number to words so you need to just copy bellow code and run that html file in your local system. Okay, So let's see bellow code and copy and paste in your local. you must need INTERN.....

Posted On March 26, 2018

PHP Laravel 5 Eloquent where between two dates from Database

I will show you example of get records between two dates from database using laravel Eloquent whereBetween method. whereBetween helps to get data between 2 dates from database. here also show you example for retrieve records using where between two columns of database table. Here i am getting records from users table and get all data of given $start and $end date between records. So you can see f.....

Posted On March 21, 2018

PHP Laravel 5.6 - Send Email using Mail Example

in this tutorial, we are going to explore a Mail in Laravel 5.6 application. I will provide a simple example of how to send email using smtp driver in Laravel 5.6 application. you can simply use sendmail, mailgun, mandrill, ses, sparkpost, log, array as a driver in laravel 5.6 application. Here I will give you an example using Mail facade. we will create Mail Class and send an email. so here in.....

Posted On March 20, 2018