PHP Comments every x hours
<p>I am a beginner at PHP, but I am wanting it that a user is able to post a comment 10 times, in the period of 24 hours. If they reach 10 comments before this 24 hours is up, they will get a message saying something like "You can not post any more comments", and after the 24 hours, they are able to post again.</p>

<p>Any ideas on how I can do this?</p>

<p>Thanks.</p>
