Re: [PHP-DB] Help: Two dimensional array from table

2006-04-07 Thread Mark Fellowes
lowes [EMAIL PROTECTED] Subject: [PHP-DB] Help: Two dimensional array from table Yes, all wrong. The array that mysql_fetch_assoc returns is one dimensional. Not two. So you can refer to it like you are. Your problem is in your query more than anything. You're doing things the hard way. Keep i

[PHP-DB] Help: Two dimensional array from table

2006-04-07 Thread Mark Fellowes
I created an array to pull data out of one column in database. However I now need a second column from the table and think a two dimensional array is the right way to go. Having a problem though in defining. Most of the examples I found don't seem to apply to pulling the values from a