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



Reply via email to