Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Robert] Extern table: Edit Log

Here is the list of edits for this post
Re: [Robert] Extern table
Finally i have used it

my $count = $DB->table("Changes")->do_query(qq|SELECT COUNT(*) FROM your_table|)->fetchrow;

and it works fine; but how to spell it for more than one value?

my ($title, $rc) = $DB->table("Changes")->do_query(qq|SELECT title, reply_count FROM thread WHERE threadid = '$t'|)->fetchrow;
Ok, it works. :)

Last edited by:

Robert: Nov 23, 2017, 10:06 AM

Edit Log: