hi all,
any ideas why this does not work? its just a simple script to test
multi-dimensional arrays. the count value should increment...should it not?
many thanks in advance!
<?
session_start();
session_register("count[0]");
$count[0]++;
echo $count[0]."<br> <br>";
reset ($HTTP_SESSION_VARS);
while (list($key, $value) = each ($HTTP_SESSION_VARS)) {
echo "Key: $key; Value: $value<br>\n";
}
?>
<html>
<body>
<form name=test method=post action=session_test.php>
<input name=submit type=submit>
</form>
</body>
</html>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]