Hand Coding PHP repeat region

I have been using dreamweavers built in tools but trying my best to hand code my PHP.

When I am writing out articles I usually use repeat region, what is the best way to write out the content, do I use for loops?