Forum+Previouses Websites

I just did boxes, but as for the forum i want to figure out how to
create boxes automatically after knowing how many answer/questions are
there