Re: Very Odd Session Array Problem

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

 



Aaron Axelsen wrote:
I understand the recursion part, but i dont understand why this fixes it:

$quoteString = implode(",",$_SESSION['quotes'][$key]);
$_SESSION['quotes'][$key] = explode(",",$quoteString);

That is essentially just reading the values out, and sticking them back in.


As already stated, your items seem to be self-referencing. It would appear that this process is inserting the *values* of those referenced cells into the quotes array instead of inserting references to the array itself. Sort of like a paste special -> values with Excel if that helps you.


--
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