Any ideas on combining arrays????
| From: | Scott Fletcher | Date: | Wed, 03 Apr 2002 17:14:41 +0000 |
| Subject: | Any ideas on combining arrays???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91331@lists.php.net to get a copy of this message | ||
Hi!
Need some ideas on combining some arrays into one! I have array for
data and other array for counter. How do I make an array that would show
different data for each counter number?
-- clip --
$FFR = array (
"TU4R" => array( "data" => "", "count"
=> "" ),
"PH01" => array( "data" => "", "count"
=> "" ),
);
-- clip --
The response should look something like this when I pick the correct
data and correct count;
$FFR["TU4R"]["data"]["0"]["count"] = "TU4R is
0";
$FFR["TU4R"]["data"]["1"]["count"] = "TU4R is
1";
$FFR["TU4R"]["data"]["2"]["count"] = "TU4R is
2";
I tried to do something like this but it doesn't work. I have been
working for 2 days trying to figure it out. I appreciate any help you can
provide for me.
Thanks,
Scott