Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [carfac] Count UNIQUE: Edit Log

Here is the list of edits for this post
Re: [carfac] Count UNIQUE
Hi,

This should work;

my $total = $DB->table('Links')->count ( ['DISTINCT(Field_Name)'] );

(fuzzy was right, but just in a different context, but the above is my personal preference for doing this kinda thing <G>).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Aug 8, 2005, 1:20 AM

Edit Log: