in reply to retrieving the reply count of a thread using regular ol' DBI and CGI::Application

So $rows_data is an arrayref? Shouldn't it be something like :
foreach( @{$rows_data} ){ $sth2->execute($_); my $count = $sth2->fetchrow_array; push @$rows_data, { count => $count }; }
Anyway, I'm still not clear of what this whole thing is doing. Could you post whole code snippet related to $rows_data ...

Have you tried freelancing? Check out Scriptlance - I work there.
  • Comment on Re: retrieving the reply count of a thread using regular ol' DBI and CGI::Application
  • Download Code

Replies are listed 'Best First'.
Re^2: retrieving the reply count of a thread using regular ol' DBI and CGI::Application
by stonecolddevin (Parson) on Oct 11, 2005 at 21:26 UTC

    Correct me if I'm wrong...but aren't @{$rows_data} && @$rows_data the same?

    meh.