title: How to calculate trends from text messages
body: <p>I'm working on a Hungarian twitter client and I would like to implement a trend system. So I have a database full of texts and dates (unix timestamps) that represent the creation date of the tweet.</p>
  
  <p>So how can I create some kind of php script that gives me about 10 "Trending topics"? I don't even know how to start working on this problem.</p>