You are here: Re: accessing values from an array « PHP Programming Language « IT news, forums, messages
Re: accessing values from an array

Posted by Jerry Stuckle on 11/18/05 05:46

mtjarrett wrote:
> thanks, but i've tried that:
>
>>>echo $_SESSION['info'][0] . "<br/>";
>>>echo $_SESSION['info'][1] . "<br/>";
>
>
> it seems that though $_SESSION['info'] is a set it only contains the
> word "Array". any ideas on that?
>
> thanks again.
>

That's what you get if you just echo $_SESSION because it is an array.

Try

print_r($_SESSION);


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация