Hey guys, I've been searching for a while now, but I can't seem to find what I'm looking for. I want a simple php script (that can interact with a MySQL DB if needs be) that takes the most poplar words/terms entered into a search bar that I have on my site (which searches google) and displays them in a "tag cloud", which I can customise with CSS. When you click the term in the tag cloud, it searches what you clicked in my search bar. Is this possible?
What i'd do is make the search using $_GET - search.php?term=$searchterm Then link the tagcloud values to your search so it would be like search.php?term=$tagcloudvalue And for the tagcloud, connect to your sql and do a query extracting what you want the tagcloud to display then do a foreach() loop. You can then style it using divs & css. Edit: Here's an example.