Logout.php
session_start();
session_destroy();
header(“Location:index.php”);
session_start();
session_destroy();
header(“Location:index.php”);
Swami Vivekananda : Life and Teachings Swami Vivekananda, known in his pre-monastic life as Narendranath Datta, was born in an affluent family in Kolkata on 12 January 1863. His father,Vishwanath Datta, was a successful attorney with interests in a wide range of subjects, and his mother, Bhuvaneshwari Devi, was endowed with deep devotion, strong character and other qualities. A…
update table set column= case when column <’10’ then ’10’ ELSE column end where id=’2′
function curPageURL() { $pageURL = ‘http’; if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;} $pageURL .= “://”; if ($_SERVER[“SERVER_PORT”] != “80”) { $pageURL .= $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”]; } else { $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”]; } return $pageURL; }