I am retrieving data from a remote database....
Code:____________________________________________________
while (@data = $sth->fetchrow_array())
{
print "@data[0]\t\t@data[1]\t\t@data[2]\n";
}
_________________________________________________________
this is the code and it works but I need to break it down further, right now @data[0] contains 10 records, I need to move that data to a different array where
item[0] = 1st record of @data[0]
item[1] = 2nd record of @data[0]
...
item[10] = 10th record of @data[0]
so I can manipulate the data,
any help would be greatly apreciated
veteq
Code:____________________________________________________
while (@data = $sth->fetchrow_array())
{
print "@data[0]\t\t@data[1]\t\t@data[2]\n";
}
_________________________________________________________
this is the code and it works but I need to break it down further, right now @data[0] contains 10 records, I need to move that data to a different array where
item[0] = 1st record of @data[0]
item[1] = 2nd record of @data[0]
...
item[10] = 10th record of @data[0]
so I can manipulate the data,
any help would be greatly apreciated
veteq