filling 2d array from sql query

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
kingconnections
Forum Contributor
Posts: 137
Joined: Thu Jul 14, 2005 4:28 pm

filling 2d array from sql query

Post by kingconnections »

Can someone show me a generic example of how to define, and fill a 2d array from within a mysql fetch?
Thanks a ton.

Dan
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

we already did.
kingconnections
Forum Contributor
Posts: 137
Joined: Thu Jul 14, 2005 4:28 pm

Post by kingconnections »

I know, but I think i am missing something from that post, as I am still having issues and my array does not fill even with that code. I just think it would help me understand what I am missing if I can see a generic one.

Thanks
dan
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

theres no reason to make another thread about the same problem..

Locked.
Locked