Why did you repost your complete post another program, with the comments that do not help anything, and with code parts that you still fail to explain, which I told you do nothing, but which you still keep in your program?
What reaction do you expect from me?
When you fetch data and put it into an array. It does not index it. It is all placed in array index 0. I want to index the data. In terms of a data dump my code already does that....The data trace(2) says that it is keeping the first array. The emailed data says it is keeping the first array.
Until you use Data::Dumper, I won't believe that you output your complete datastructure.
Can you pass an array index to a sql statement via a loop to get more specific data? That is all I want to know. Can sql passed an array indexed value with each iteration? That is my only question. If it can't be done that is fine... but The data structure has been dumped and validated. I know how to dump data and create and entance to view the data structure.
Whatever you mean by "index". You get all your data back as an array of arrays (AoA). The Perl documentation I already referred you to, perldsc and perlreftut, describe what that is. If you have "dumped and validated" the data structure, then I wonder why you feel the need to ask for the rest of your data.
Update: Please see brian's Guide to Solving Any Perl Problem for further help in debugging your problems.
|