| |
|
|
| |
Tagcloud Font Distributor
Next Code
This will assign font
sizes to tags based on their counts. It
tries to evenly distribute the font sizes
among the tags while keeping all tags with
the same counts under the same font size.
The data needs to be in the following
format:
$tag[tag_name] => Tag Name
$tag[tag_count] => Number of instances of
this tag
$tag[tag_class] => Resulting class name, ex:
tag1, tag2
Please note that this does not work with a
class object. This was designed to work with
an array only.
Once you create an array of these objects,
you can feed them to the cloud_tags()
function which will assign each $tag with a
tag_class based on it's tag_count and the
overall number of font sizes and tags. The
return result is the array sorted
aphabetically with each tag_class properly
assigned.

Go
to Homepage
Contact Us
|
|
| |
By Krishna Eydat & Mahmood Bina |
|
Download free PHP codes and scripts, help with
forums, samples and examples of a professional website with PHP
design, you can use Javascript codes and HTML scripts and tangs.
PHP tutorials and lessons step by step, use PHP free script
,script ,source ,code generator ,sample code ,examples ,script
code ,open source, free source ,forms ,code editor ,forum ,array
,function ,website codes ,include ,Web design, webmaster
,protect code , email , PHP forum codes, forum scripts , dynamic
code, PHP helps
|