Re: session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



how to do it ?

http://php.grn.es/manual/en/ref.session.php

Hint: Look at example 1 where it says

<?php
session_start();
if (!isset($_SESSION['count'])) {
   $_SESSION['count'] = 0;
} else {
   $_SESSION['count']++;
}

echo $_SESSION['count'];

?>

<a href="test6.php?<?php echo(SID)?>">link</a>

Also take a look at

http://php.grn.es/manual/en/function.session-register.php

Note: the part about not using session_register()

Regards

Mark

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux