dynamically named variables?
| From: | Nick Wilson | Date: | Thu, 23 May 2002 16:32:14 +0000 |
| Subject: | dynamically named variables? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98937@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi everyone,
I've been looking at the php manual section on variable variables but I
don't think i either a) understand it, or b) it isn't what I need.
Here's the coup:
I have a bunch of post vars, lets say $red, $green and $blue
I want to loop through the post vars and create a variable callled
$file_red, $file_green and $file_blue
Could someone show me the way? I'm a tad confused ;-)
Many thanks!
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE87RmOHpvrrTa6L5oRApuqAKCSQqzb/ENa0UHWKKNeVEmSbkpD3QCdFCPK
/sCmd9G3NQeznAhynh6Weag=
=XWVB
-----END PGP SIGNATURE-----