and when i click on link always I have in $count value 1 but I need value 2,3,.... how to do it ?
<?php session_start(); if (! isset($_SESSION['count'])) { $_SESSION['count'] = 0; } $_SESSION['count']++;//session_destroy(); <- don't do that! It destroys the //session associated with the current user
?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php