RE: [PHP] Passing Arrays

From: Date: Thu, 05 Apr 2001 13:05:15 +0000
Subject: RE: [PHP] Passing Arrays
Groups: php.general 
Request: Send a blank email to php-general+get-47250@lists.php.net to get a copy of this message
Hi Jordan, Using sessions in PHP4, like this: session_start(); $n = -1; //Read an index from an Oracle table while (OCIFetch($rs)) { $n = $n + 1; $ix[$n] = OCIResult($rs,1); } session_register("n"); session_register("ix"); In the next page you have a session_start() again, and can refer to $ix[0], $ix[1],.. $ix[$n] etc. Rudolf Visagie rudolf@qedi.co.za -----Original Message----- From: Jordan Elver [mailto:jjelver@worldsites.net] Sent: 05 April 2001 02:56 To: PHP Database Mailing List; PHP General Mailing List Subject: [PHP] Passing Arrays Hi, How can I pass an array between two pages. I've tried using serialize and unserialize. But it doen't return an array. When I use gettype() on it, it say's that the typ-e is boolean? Any ideas? Cheers, Jord -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#47250) next »