Adding PHP loop to go through entries.