ok...so what problem are you having? what's the error? your code worked for me, i.e., it compiled and executed
-----Original Message----- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: [PHP] Any ideas on combining arrays???? 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php