hello, i have some problem to do with session and url...here is my code..
//try.php
<?
session_start();
session_register("num");
num=0;
?>
<html><head>.....
<a href="link.php?num=2">try to change value</a>
......</html>
//link.php
<?
session_start();
?>
<html><head>......
<? echo "The value of num is : $num"; ?>
</body></html>
with this method, the value of the session variable did not change...please show me the correct way to do it....
(i try to avoid using hidden value)
thanks for reading and answering
ahchew1413