![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: accessing values from an array
From: ZeldorBlat <zeldorblat@gmail.com>
Date: Fri Nov 18 2005 - 04:02:09 CET
>on page2.php, i can't figure out how to access the array. i want to
Shouldn't it be:
echo $_SESSION['info'][0] . "<br/>";
Or, if you want a foreach loop:
foreach($_SESSION['info'] as $val)
|