[thelist] [PHP] Whaddya callit?

Maximillian Schwanekamp lists at neptunewebworks.com
Tue Jul 12 01:45:46 CDT 2005


This may be a stupid question but...  I'm working on an app that I will
eventually hand off to someone else.  I'm striving for good class/method
commenting, and it occured to me that I don't really know what this is
commonly called in php-land:  a two dimensional array consisting of an
index array of associative arrays.  I call this a recordset array, since
I cut my teeth on ASP/VBScript.  E.g.:

Array
(
    [0] => Array
        (
            [id] => 5
            [app_id] => 1
            [owner_id] => 1
            [name] => nm,n,mn
            [description] => nbnbnb
            [created] => 1120940215
            [updated] => 1120941807
            [status] => open
        )

    [1] => Array
        (
            [id] => 4
            [app_id] => 1
            [owner_id] => 1
            [name] => iuyuiyt
            [description] => hjg
            [created] => 1120934689
            [updated] => 1120941904
            [status] => open
        )
    [2] => Array
.....etc.

What do most PHP coders call that common structure?

-- 
Max Schwanekamp
http://www.neptunewebworks.com/



More information about the thelist mailing list