note 27095 deleted from ref.session by didou

From: Date: Sun, 18 May 2003 03:17:49 +0000
Subject: note 27095 deleted from ref.session by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48361@lists.php.net to get a copy of this message
Note Submitter: Jester@free2code.net ---- Well if you save an arra yin the $_SESSION array it'll be passed frm page to page. $_SESSION['var'] = array(1, 2, 3, 4); Will make $_SESSION['var'] an array. You can also pass arrays to scripts via a form, like so: <form action="script.php" method="post"> <input type="radio" name="array[]"> <input type="radio" name="array[]"> <input type="radio" name="array[]"> <input type="radio" name="array[]"> </form> Now all the values from all of the radio buttons would be available in $_POST['array'] Which is an array in itself.

« previous php.notes (#48361) next »