Oops <stumble>....
Hmm - OK.
Here's what I'm doing now:
$i=0;
$myarray[$1][0]=dataitem1;$myarray[$i][1]=dataitem2;$myarray[$i][2]=dataitem3;
$i++;
and I'm looping through this for a specified number of
iterations.
Is that the most efficient way?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"David Powers" <david@example.com> wrote in message
news:eerm14$1bm$1@forums.macromedia.com...
> Murray *ACE* wrote:
>> Can someone give me a nudge for this in PHP, please?
>
> Shove... :)
>
> You'll have to be a bit more precise in saying how your
sets are created.
> In general terms, though, just create a loop and add the
items using
> square bracket notation:
>
> $row = array();
> while (condition is true) {
> $row[] = $set;
> }
>
> --
> David Powers
> Adobe Community Expert
> Author, "Foundation PHP for Dreamweaver 8" (friends of
ED)
>
http://foundationphp.com/