Hello, Could someone help me with a bit of code to output data from mysql in a formated way in a text box. This might not be the list to ask and if not please direct me in the right direction. I'm writing in Perl. Here is a sample of the code.
my @arrinstr=(); my $list=""; while (@arrinstr = $sth4->fetchrow) { ($sec,$title,$seats)=@arrinstr; $csec=$sec; $ctitle=$title; $cdes=$seats; $list.="$csec $ctitle $cdes \n"; } #print "$list"; print $query->textarea ({-name=>'INFO',-default=>$list,-cols=>'75',-rows=>'5'}); ------------------------------------------------------------------------------ This works but I would like to format the data in the $list. so that things are right justified and lined up. Thanks in advance. Douglas [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php