I have a script that stores questions asked in a database and I want to display the most asked questions in a table. So far I have gotten to display all doubles but I want to display how many times they appear in my database.
Here is my code so far:
$double = mysql_query("SELECT question FROM question GROUP BY question HAVING count(*) > 1")
or die(mysql_error());
How would I put the number of times those entries appear?