Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to use strtotime() Function in PHP ?

The strtotime() function parses an English textual datetime into a Unix timestamps (the number of seconds since January 1 1970 00:00:00 GMT). Syntax of strtotime() Function strtotime(time,now); you can see belloe example: <?php //here call

File upload in PHP.

Hello Reader's , While building any appication we definatley requires images to upload like profile image , company image etc , for this we require php file upload code . You will get image data in array i.e. image name , temp name , image size ,

What is hook in Codeigniter and how to use this

Hello Friends, Some time we need some functionality before execution of our controller function or after execution of controller. For example you need to check a user is login or not before execution of any controller. Codeigniter hook is a very goo

How to upload two separate files in php

Hi if you want to upload two separate files from one single form to be uploaded and with a for simplest code Look at mine code. The form will have two separate input files but you need to name them common, ex 'files[]' I'm using 'upload[]' in this c

Laravel 5.0 Writing Static Query In Laravel

Many times we needs to write static query in Laravel. Some time due to the complexity of the query or sometime due to the MYSQL build in functions not supported in the Query Builder or in Eloquent in Laravel example LPAD. Thus at that time Laravel pr

How to create/modify/expyire a cookie in php

To know what is a cookie and about the optional parameters for the cookie see click the link below. http://findnerd.com/list/view/What-is-a-cookie/13459/ Here we will see how to create a cookie and modify the cookie and how the cookie expires.Fo

Exchanges all keys with their associated values in an array

Hello friends, This time I am here to explain a very common issue in php which if is someone want to exchange the array keys with values, for this you can use a predefined php array function "array_flip ( array $array )". array_flip ( $array ) used

search form in worpress theme

searchform.php is an important template file that is why it is included many a time in the sidebar of many themes and generates the search box form. If this template is not in your theme, you can copy the below code and include it in your theme. &l

Diffrence between echo and print in PHP

Hello Readers! You might have heard these "echo" and "print" statement in PHP many times. So here we will understand now what is the exact difference of these two words. Both echo and print are used to output a statement. Below are the some basic d

How to convert Unix time stamp into date time using PHP

Hello Reader's! If you have the time stamp in unix time and you need to convert them into Date time format Then you can use the diffrent ways of doing this in PHP Let's say the example below:- $timestamp=1455070324; echo gmdate("Y-m-d\TH:i:s\Z", $

1 12 55
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: