How to send email by using phpmailer

First Download phpmailer.zip and extract it now include it in your file require_once(APP_ROOT_PA............
Read More


How to validate url in php

Create a functionfunction isValidURL($url) { return preg_match('|^http(s)?://[a-z0............
Read More


How to validate email in php

We can validate email by using eregi function by giving our email patternfunction isValidEmail............
Read More


How to generate word document in yii

Create a action in your controllerpublic function actionUserDetails() { $title = "............
Read More


How to install yii2 on ubuntu system with xampp

If you have ubuntu system and want to install yii2 then folllow these below processFirst we need............
Read More


How to redirect on last page in laravel

By using redirect back function we can redirect on last page in laravelreturn Redirect::back()............
Read More


How to use role management in laravel

By using laravel packages we can manage user roles. but we can create a custom code to manage roles ............
Read More


How to install laravel on ubuntu server

For install laravel we need install composer first.Open your ubuntu terminal and type the following ............
Read More


populate dropdown from a php array

function arraySelectBox($id, $controlName='', $arrayToFill='', $selected=''............
Read More


Populate a dropdown by fetching data from database

If you are creating a dynamic dropdown which options should come from database. For this you can use............
Read More



www.000webhost.com