in reply to Building a tag cloud from a database
Also, most databases will provide some amount of mathematical functioning for you and, in some cases, it can be much more efficient. Just make sure you comment the heck out of the SQL.SELECT word, occurrences FROM statistic ORDER BY occurrences DESC LIMI +T 200
And, the last problem is:
$dbtags{$word} = $occurrences;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Building a tag cloud from a database
by jdporter (Paladin) on Apr 29, 2008 at 13:46 UTC | |
by Anonymous Monk on Apr 30, 2008 at 08:00 UTC |