Hi,
Internally I use variables but I use the array to update the value since
I have problems with the scope inside classes. So I update the value on
the array just at the end of the script by registering an update
function with register_shutdown_function().
What is the reason that I should not
What is the reason that I should not use the array? Is there any problem
doing it that way?
They array is simply not designed for you to use as if it were your
variable.
What you want to do is this:
?php
# Beginning of script:
session_start();
session_register('count');
I think you should still use $count++
The array is just there for you to *READ* data, not to alter it.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
3 matches
Mail list logo