print out rows from array/perl

2001-02-11 Thread Andreas Antes
I have created 2 columns: col1 varchar(20) col2 varchar(20) when I add content to the columns it looks like this for example: col1 contentA NULL contentB Now when I try to print out the content in Perl using this code: while($dirty_words = $sth-fetchrow_array) { print "$dirty_wordsbr\n"; }

Re: print out rows from array/perl

2001-02-11 Thread --==[bMan]==--
This is a question for PERL group but anyhow, read again the chapter in MySQL on printing results from MySQL using PERL. It prints continentA because that's what you have asked for. On Sunday 11 February 2001 15:36, Andreas Antes wrote: =I have created 2 columns: =col1 varchar(20) =col2