From: Robert Klemme Date: 2007-10-18T03:20:01+09:00 Subject: Re: 2 dimensional array On 17.10.2007 15:31, Shuaib Zahda wrote: > Dear Stefano > Thanks for the reply. The way you gave me is basically makes six rows > and unlimited number of columns Well, it depends on what dimension you view as row and column. > I want the other way aroud > basically I have this table > > field | type | key | default | extra | null > name | string | yes | null | auto_increment| null > id | integer | .... .... . .. . . . . .. > address > > basically is a small database structure > > any idea? thanks Why don't you just create a Struct with the six fields you have in mind and stuff those instances in an Array? And what is a "multi dimensional hash"? Kind regards robert