> while ( (my $id, my $name, my $par, my $time) = $sth->fetchrow) {
> print start_html(-title=>"Noticia:
> $name",-style=>({-src=>"/_include/portal.css"}));
> print h3("$name"),
> p("$par"),
> #p("$par1"),
> p("$time"),
> p(a({-href=>'/noticias/index1.shtml'},'<<indice de noticias'));
> }
I doubt this will solve your problem, but I thought I would mention it anyway.
I would suggest this code change for readability and reducing the amount
you have to type. Try:
while( my ($id, $name, $par, $time) = $sth->fetchrow ) {
}
Instead of 'my'ing each variable.
You might also try putting the start_html() outside of the while{} block
and just looping on the print statment if that query returns more than
one row.
---------------------------------
Frank Wiles <[EMAIL PROTECTED]>
Revolution Systems, LLC.
---------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]