sub {
my $output;
my $sth = $DB->table('tabletest')->select( { id => "idnumber" } );
while (my $rec = $sth->fetchrow_hashref ) {
$output .= Links::SiteHTML::display('8selecttest', $rec );
}
return $output;
}
there is a colum called orderdetail
its value looks like this {name => 'name111',colour => 'red'},{name => 'name222',colour => 'yellow'}
it i the tempalate 8selecttest.html looks like this
<%column1%>
<%orderdetail%>
then i will get a array value of ordertail {name => 'name111',colour => 'red'},{name => 'name222',colour => 'yellow'}
how could i get it displayed like this format?
<%column1%>
name=name111 colour= red
name=name222 colour= yellow
i do hope i could make it. but i dont how here to modify it.
i hope i could get help here. or i have to do it in a stupid way holding the <%orderdetail%> value in a hidden field and do a futher process
thanks in advance