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

Dale Bengston dbengston at tds.net
Wed Feb 4 10:52:53 MST 2009


Hi Bob,

Yes, that's all there is to it. I do it all the time!

Dale

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1582 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090204/aab27d99/smime.bin


More information about the FX.php_List mailing list