Re: Multiple queries to populate drop down list boxes. Updated
Mark Haney <markh-rOuQeLG7NUhWk0Htik3J/[email protected]> Tue, 09 Oct 2012 07:50:38 -0400
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/2012 02:36 PM, Chad Wallace wrote:
>>
>>
>> ########## Rendering code for the page ################
>>
>> my $file = 'templates/shift_rpt.html';
>> my $vars = {
>> #'cgi' =>CGI->new(),
>> 'factories' => \@rows_factory, # This moves the data from [...]
>> 'shifts' => \$row_shift # This moves the custom shifts [...]
>
> Try \@rows_shift
>
>
>
>
That was originally the way I had it. I was doing essentially what I
had done with the previous SQL statement, going to each row and pushing
it into an array. For some reason, it doesn't work the same way.
--
Mark Haney
Software Developer/Consultant
AB Emblem
markh-rOuQeLG7NUhWk0Htik3J/[email protected]
Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux