Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php session get data

<?php
  session_start();  
  if(isset($_SESSION['views']))
      $_SESSION['views'] = $_SESSION['views']+ 1;
  else
      $_SESSION['views'] = 1;

  echo "views = " . $_SESSION['views']; 
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #session #data
ADD COMMENT
Topic
Name
6+5 =