Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Registering a variable with $_SESSION.

<?php
session_start();
if (!isset($_SESSION['count'])) {
  $_SESSION['count'] = 0;
} else {
  $_SESSION['count']++;
}
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #Registering #variable
ADD COMMENT
Topic
Name
5+4 =