[FX.php List] Trying to read back an array
Bob Patin
bob at patin.com
Fri Sep 17 07:49:37 MDT 2010
OH! I see now... I didn't notice I'd done that.
I understand now... oops... duh... started way too early this morning.
Thanks as always... :)
Best,
Bob
On Sep 17, 2010, at 8:47 AM, Leo R. Lundgren wrote:
> You store using this key in the array:
>
> $_SESSION['description['.$recid.']']
>
> The key in the array will be "description[123]" for a recid of 123.
>
> You then try to fetch it using this:
>
> $_SESSION['description'.$recid]
>
> Which is the equivalent of a key "description123" for a recid of 123.
>
> So you are asking for the value in the array at place (key) foo, when having stored it at place (as key) bar. Or the reverse :)
More information about the FX.php_List
mailing list