[FX.php List] Fwd: Storing an array in a session variable

Bob Patin bob at patin.com
Wed Feb 4 10:49:52 MST 2009


Never mind, found what I was doing wrong... to answer my own question,  
YES... :)

BP


On Feb 4, 2009, at 11:44 AM, Bob Patin wrote:

> Is it possible to store an array in a single session variable?
>
> In my project, I have an array called $pay[], which can have any  
> number of variables (I'm blanking on what you call array values...);  
> can I just write this
>
> $_SESSION['pay'] = $pay;
>
> or do I somehow need to set up the session variable because I'm  
> storing an array?
>
> Or do I have to store each array value separately... groan?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> Twitter: bobpatin
> iChat/AIM: bobpatin
> FileMaker 9 Certified Developer
> Member of FileMaker Business Alliance & TechNet
> --------------------------
> FileMaker hosting and consulting for all versions of FileMaker
> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list