![]() |
php tag cloud - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: php tag cloud (/showthread.php?tid=13672) |
php tag cloud - El Forum - 12-01-2008 [eluser]new_igniter[/eluser] Hello, Can anyone share how they made a tag cloud? I am just trying to find the most popular words in a series of rows. Basically, I have 1000 rows with text, and want to make the tag cloud that would show the most popular words in those rows. Thanks! php tag cloud - El Forum - 12-02-2008 [eluser]xwero[/eluser] This function can power your tag cloud. php tag cloud - El Forum - 12-02-2008 [eluser]new_igniter[/eluser] Thanks! I feel dumb asking the second part, but I am just curious as to the appropriate query. How would I take a specific column from say 1000 rows and turn them into a long string? php tag cloud - El Forum - 12-02-2008 [eluser]xwero[/eluser] loop the result, add the value of the column to an array inside the loop and implode the array after the loop. php tag cloud - El Forum - 12-02-2008 [eluser]new_igniter[/eluser] would I just use implode (separator,array) ? php tag cloud - El Forum - 12-02-2008 [eluser]xwero[/eluser] if the array has one dimension you can but the result method returns an array with objects an the result_array method returns a 2 dimensional array. Code: array(array('column'=>1),array('column'=>1)); |