Email send Using Angularjs and PHP

php

In the following example you learn how to Email sending with AngularJS and PHP <script src = “scripts”></script> <div class=”container” ng-app=”formApp” ng-controller=”formController”> <div class=”col-md-6 col-md-offset-3″> <!– PAGE TITLE –> <div class=”page-header”> <h1><span class=”glyphicon glyphicon-tower” style=”font-size:20px”></span><span style=”font-size:20px; margin-left:10px;”>Send a direct e-mail…

Read MoreEmail send Using Angularjs and PHP

Switch Case in PHP

php

Here is example of PHP switch-case Statements. in this example you will get output as day wise. <?php $today = date(“D”); switch($today){ case “Mon”: echo “Today is Monday. Clean your house.”; break; case “Tue”: echo “Today is Tuesday. Buy some…

Read MoreSwitch Case in PHP

Laravel Session

Sessions provide a way to store information across multiple requests. In laravel, the session configuration file is stored in ‘app You can pass session value across the different pages within same domain or website. You do not need to handle $_COOKIE…

Read MoreLaravel Session

create PHP Rest API

php

Here is example of how create a rest API in PHP. Employee table Schema Create a ‘test’ MySQL database, if you have already any database then also run below sql into that database SQL query window. CREATE TABLE IF NOT EXISTS `employee`…

Read Morecreate PHP Rest API