Re: Looping through a records set an putting values into a multi dimensional array
| From: | Jason Murray | Date: | Thu, 14 Dec 2000 05:19:34 +0000 |
| Subject: | Re: Looping through a records set an putting values into a multi dimensional array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30238@lists.php.net to get a copy of this message | ||
Stuart Rees wrote:
[snip]
> In most other languages I would simply do myarray($user_id,
> $class_id)=$info. But clearly you cant do it like that in php.
>
This doesn't work?
$myarray[$user_id][$class_id] = $info
Or don't I understand what you want to do?
Greetings,
Jason
--
Jason Murray
Developer
jWeb New Media Design
1 877 525 jWEB