PHP: Count number of occurrences of a particular day in a month?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1653891/how-to-find-number-of-mondays-or-tuesdays-between-two-dates">how to find number of mondays or tuesdays between two dates?</a>  </p>
</blockquote>



<p>I am working on a program that will generate a monthly bill based on the number of days in the week the customer signs up for.. </p>

<p>The customer sets the days of the week they want to attend (Monday and Tuesday, for instance) during the enrollment process, and they will then be billed at a daily rate for every Monday and Tuesday in that particular month. </p>

<p>Essentially, I need a way to count how many Mondays and Tuesdays there are in the current month.</p>

<p>I'm fairly new to PHP, and have been spinning my wheels for hours trying to figure out a way to do this. Can anybody point me in the right direction?</p>
