any hints on dynamically naming arrays?
ie:
$stuff= explode (!, $contents);
//$stuff[3] is foo
$stuff[3]=explode(,$stuff[4]);
print_r($foo);
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
PROTECTED]
Sent: Thursday, May 17, 2001 10:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] dynamically naming arrays
any hints on dynamically naming arrays?
ie:
$stuff= explode (!, $contents);
//$stuff[3] is foo
$stuff[3]=explode(,$stuff[4]);
print_r($foo);
Matthew Luchak
(...);
-Original Message-
From: King, Justin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 1:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] dynamically naming arrays
I guess I'm kind of not understanding what you're trying to do. Besides
dynamically create an array.
I'd
On Thu, May 17, 2001 at 01:27:52PM -0400, Matthew Luchak wrote:
any hints on dynamically naming arrays?
ie:
$stuff= explode (!, $contents);
//$stuff[3] is foo
$stuff[3]=explode(,$stuff[4]);
${$stuff[3]} = '...';
http://www.php.net/manual/en/language.variables.variable.php
Matt
4 matches
Mail list logo