Thursday, 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.

Wednesday, 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

Friday, 18 July 2014


Sql Between operator find the database in between two database values. this operator used between and not between data filtering database.

SELECT * FROM tablename WHERE cost BETWEEN 200 AND 300

Thursday, 17 July 2014

Rename file directory in php

 PHP rename() function changed old directory to new directory If new name exists, it will be overwritten. Sometime wrongly uploaded file images or folder that time use this function easy to rename the new directory or image name. 


Wednesday, 16 July 2014

HTML input accept Attribute

 We upload PDF filein database, that time we use Html input type file attribute. but it's accept all type of files. After submitting form only we know wrong upload file format. So avoid that method just give the file accept type to ignore other file types.

Live Demo

Tuesday, 15 July 2014

Delete image from folder in php

Some programmer using image upload coding that image file move on particular folder. after delete  that database record data only deleteed but image stay on same folder only it's not delete. So add below code remove deleted record folder image.