Page 1 of 1

assoc array

Posted: Mon Oct 11, 2004 6:12 pm
by Pizmal
Is there a way to carry an assoc array to another page? I heard of sessions and I know how to carry an variable over just by typing it into the url (a href).

From
Pizmal

Posted: Mon Oct 11, 2004 7:23 pm
by McGruff
Just add it to $_SESSION same as a string var:

Code: Select all

$_SESSION['foo'] = $foo;