Posted by "Thorsten Suckow-Homberg" on 09/20/05 16:42
> 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 ?>
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming