PHP Script to display paydates

A PHP Script to display the paydates and have the contents saved in a
CSV is created