List information according to the title

If my table contain of the following fields: id, topic_title, all_feedback.

How can i display all my result in this condition:

List the topic_title then follow by all the related feedback, once finish list the next topic_title then follow by all the related feedback.

Title1
-some title1 feedback
-some title1 feedback
Title2
-some title2 feedback
-some title2 feedback

Hope someone can help.
Thanks.

You can extract topic_title and all_feedback from the table, ordered by topic_title.
But to display each topic_title only once, you’ll need to use your scripting language (PHP?).
Loop through the query result set, and display each title only the first time.

Thanks, any idea how to loop it in PHP?

http://www.php.net/manual/en/function.mysql-fetch-assoc.php