You are here: Home » 2014 » September

Monthly Archives: September 2014

Session in PHP

Session is an information which created by server and stored at the server. To start session, use session_start() function at the top of the page, To store value in session, $_SESSION[‘id’]; srore value 1 until session not destroy. When ever we use $_SESSION[‘id’]; it’s result always be 1. Destroy session value, We can also use session_unset(); To free all session ... Read More »

date time in php

In PHP, We use date() function to display date, we have to pass parameter in date() function, according to parameter it display the result. Display Day with date() function:- d => 01 to 31 D => Mon through Sun j => 1 to 31 l => Sunday through Saturday N => 1 (for Monday) through 7 (for Sunday) S => ... Read More »

Scroll To Top