Manual of PHP

 
 
 

Web map

 
rim   rim
arrowReady practices frontarrow inarrow Practical linearrow with the Meetings

 

He practises with the Meetings To print E-mail

How can we print on screen all the pages of our web the user has visited? For example if you open a page with IE and update 5 times must leave 5, if you open another navigator (for example with firefox) must begin of 0.

To see Solution.

<? php

session_start ();

if (! isset ($_SESSION ['n']) {

$_SESSION ['n'] = 0;

} else {

$_SESSION ['n'] ++;

}

?>

 

 
Front
Chapters of the Manual of PHP
Introduction to PHP
Variables
My First Script PHP
Operators in PHP
Structures of Control
Functions in PHP
Code inclusion
Counterfoils (array)
Chains of Characters
Classes
Dates
Entry and Exit
Operations with Files
The language SQL and PHP
Connection with MySQL
Meetings
Forms with PHP
To practise in line
List of practices in line
FAQ
Frequent questions
Codes PHP
List of Codes PHP
Forums
Forums PHP
Other Manuals
Manuals of other languages
 
   
 
 
MySpaceScripts.info - Sitemap - Contact us - Sitemap - Contact us - Sitemap - Contact us

Replica Handbags , Replica Horloges , incoming tour operator poland , FilesDownloads.net , Stag night Krakow , Traffic Exchange , kasa fiskalna