I only have Day 1, 3, 9 and 14 on my database. All i want is to display is day 1 - 31 on the month of march
Hello and welcome to Stackoverflow.
In php you can get the days with a for loop.
for($i=1; $i<=31; $i++) {
# Do your date things here.
}
That is just a basic counter, without more to go on from your project, code sample etc, then it is unlikely that we will be unable to give you better direction on this.