Code: Select all
select topic_replies from phpbb_topics where topic_id = X
Replace 'X' with the topic_id in question. The usefullness of this answer is related to the amount of detail you provided in your question.
If you had provided more detail about what you're trying to do, you could get more help.
Moving to MOD Requests for further responses, thanks.