i am building something similar to what a forum is like.
so on the list of all the threads, i am going to state the total number of replies on each threads displayed on the list.
if i were to do a query of mysql_num_rows() or count() on the replies table for every single thread to get the total number of replies, is this the right way to do things? i just find that one day when many of the threads has like a few thousand replies then will my query timeout or have some error or will cause the page to load very slowly?












Bookmarks