You have an error in the code!
Changes as:
$Sname = $k+1;
$value = $v+1;
becaue $k++ and $v++ changes the value after the value has been
transferred to $Sname and $value :)
And then it works in vanilla PHP!
Enjoy,
John
On Mar 21, 8:48 pm, Charles <[email protected]> wrote:
> Interestingly, I decided to take this completely outside of cakephp to
> see if THAT was the issue and as it turns out it is not, here is my
> out-of-cake test w/ the code included:
>
> http://cricex.com/session_test.php
>
> Now I am really starting to scratch my head..
>
[snip]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---