in reply to Re: Re: Re: Re: Using the mysql database columns as the table header.
in thread Using the mysql database columns as the table header.

Try enclosing your variables within double-quotes:

$query->start_td({-align=>'center',}), "$val[0]",

That's Spenser, with an "s" like the detective.