On Wednesday, May 1, 2002, at 02:55 PM, drieux wrote:
> > On Wednesday, May 1, 2002, at 02:47 , Greg D. wrote: > >> Hi, >> >> Is there any way i can split an array that contains information that i >> got >> from the mysql database? >> >> here's the code: >> >> while(my @data = $sth->fetchrow_array){ >> print "@data\n"; > > > what does > > print "$_\n" foreach (@data) ; > > do for you? but his code should have printed each row on its own line. your code will print each field of the record on its own line. that doesn't seem right. unless the sql query bunched up a pile of records into each row? maybe we need to know what the fields are and what the query looks like. > my premise is that the 'lines' of data going into the > @data are starting with the leading numeric token - > > ciao > drieux -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]