Re: passing array from one page to itself?

From: Date: Sat, 13 Apr 2002 00:29:06 +0000
Subject: Re: passing array from one page to itself?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92832@lists.php.net to get a copy of this message
You didn't by any chance go by the name 99ways2die at one time did you? I thought of that but when the second page loads the values are dumped into a db and I have it written already and it uses an array, I would like to keep it that way (Gru) ninetyninewaystodie@lycos.com wrote:
You could do something like the following: $array = array("value1","value2","value3"); for($i=0;$i<count($array);$i++){ echo "<input type=hidden name=\"value$i\" value=\"$array[$i]\">"; } -- On Fri, 12 Apr 2002 17:14:14 sundogcurt wrote:
Hi again guys, I'm having trouble finding documentation on passing an array. Here is what I am doing. I have one page that calls itself, I want to pass an array that is setup the first time it's called to itself the second time it's called. I'm running out of both time AND hair (both of which are a rare comodoty these days). Any hint will be a HUGE help! Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
See Dave Matthews Band live or win a signed guitar http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp


« previous php.general (#92832) next »