[eluser]iDenta[/eluser]
waldmeister: There we have it! Now it is working as i wanted it to, thanks!
All there is to do now is to make it look like a tag cloud, so that the font size changes according to have many times each word occurs.
I made a simple test with if blabla then font-size: 16px; like:
Code:
if ($row->total < '10')
{
echo '<span style="font-size: 10px;">'.$row->word_list.'</span> ';
}
elseif ($row->total > '20')
{
echo '<span style="font-size: 16px;">'.$row->word_list.'</span> ';
}
And, although it works, there must be some better way to do this... I had a look in the code for FreeTag, but couldn't figure out a better way to do it.
Did i say i'm a newbie at this?