Create Tags Cloud - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: Create Tags Cloud (/showthread.php?tid=2685) |
Create Tags Cloud - zone - 11-08-2009 Credits and Source: http://www.roscripts.com/ Name: Tags Cloud Description: You've seen it for the first time (as far as I know) on Flickr and you're seeing it on major websites as well. The "tag cloud" or "weighted words list" is nothing more than another way of displaying a navigation. It's funny, weird, new to the internet, attracts clicks, easy to do and it's also free. It's so easy to do a tag cloud using this simple PHP functions that I've found. Make your site more interesting and step into the web 2.0 world that everyone's talking about. Enjoy! Snippet: PHP Code: function printTagCloud($tags) { Code: <style type="text/css"> PHP Code: function get_tag_data() { Usage: Code: <h3>Sample Tag Cloud results</h3> If you want to use a databse to retrieve your data replace function get_tag_data from above with this one: PHP Code: function get_tag_data() { MORE DETAILS: http://www.roscripts.com/Create_tag_cloud-71.html Thankyou for reading. Be happy always |