so, i output the results of a db query within a table to a browser by

while($sth->fetch()) {
   print Tr(
            td($date), td($hours_actual), td($hours_billed),
            td($date_posted), td($details), td($ip)
           );
}

works great - no problem

except that $hours_billed is left justified and has leading zeroes. cant
use printf; inserting <p aligh="right"> bombs and does not address leading
zeroes.

anyone have an idea on how using the above syntax i can right align and
drop leading zeroes for that variable in that cell?

thanks a bunch
mario
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to