Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2D array

Status
Not open for further replies.

spookie

Programmer
Joined
May 30, 2001
Messages
655
Location
IN
hi,
I am trying hard but somehow not able to get it.

I am creating an array.i want to creat a 2D array which will have a value as index/key and the created array as value.

Then i want to parse this 2D array get each value for key,
query the DB for each value and form a msgstring.

Any guidance or code is welcome.

Thanks in advance

spookie

--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
spookie,

Perhaps you could post the code that you have so we can maybe see where it's tripping you up.

I have a couple of hunches, but I'd like to see your code first.

Have a good one!
inger
 
Thanks for the replies guys..
Anyway i have solved it..some silly syntax prolems..

Sliep:

Instead of thinking of your data structure as a two-dimensional array, think of it as an array of arrays.

Thats a good point..

cheers

spookie

--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top