Mostlikers Programming Blog, Related codeigniter jquery, php, mysql and more things

20 August, 2014

Expiry date code in php

Expired date concept in php register user product or something expiry based on  register date to current date. So i write the code in current date to expired date. count number of days between two dates and total number of days to check the conditions on expired date.

expired date

12 August, 2014

First and Last Record in Mysql

Sometime we required last insert value just assign order wise your fetching query. below i write some useful way fetching database records.

Sql query

29 July, 2014

Get current date and time in PHP

Get your current date and time in php, set your location default time zone get your current time zone.
manually set the timezone by using date_default_timezone_set before the date() or time().

php time

28 July, 2014

PHP switch case Statement

Php value compare to multi value in the sense we use if else statement method that time we use lot of value comparison method  in if else statement method. 10 or 20 value comparison statement execute time take delay, that case use switch statement this multiple value check time and comparison method also very easy.


24 July, 2014

PHP user defind function

PHP user defind function reduce program code. create your own function pass the parameters value to check the conditions. PHP gives you option to pass your parameters inside a function. You can pass as many as parameters.


23 July, 2014

Find latitude and longitude with Google Maps

Google Maps is an application that allows users to find and search for locations. that Map to find the location based latitude and longitude coordinates. for any place Your search loction find on  latitude and longitude in google map.



Google Maps Script by RegioHelden