News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Prism-Perfect.net:
PHP Tag Cloud Tutorial
August 24, 2006 @ 19:17:54

As pointed out in this post on the Zend Developer Zone, the tag cloud can be a valuable tool to any site using tags for its articles/posts. They also mention a tutorial to help you build one.

Well, it's actually so simple it's not really a tutorial at all so much as a snippet with a bit of explanation. But I've had some people ask how it's done, so here's how I do it. I tried to go through and add some comments about what's happening.

The code pulls the information from a backend database and calculates out what size each of the items needs to be based on the max and min values set in the script.

2 comments voice your opinion now!
tag cloud tutorial mysql size simple tag cloud tutorial mysql size simple


blog comments powered by Disqus

Similar Posts

DevShed: Paginating Database Records with the Code Igniter PHP Framework

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)

Ade Slade's Blog: Integrating Zend Framework 1 and Pimple

Jurriaanpersyn.com: Ajax/PHP-powered Sudoku Helper

Wolfgang Drews\' Blog: Some thoughts on indexes & searching in MySQL / PHP


Community Events

Don't see your event here?
Let us know!


symfony2 example testing introduction voicesoftheelephpant version extension php7 opinion laravel api podcast performance community series release library application framework interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework