How to cycle through tasks and keep track of it in PHP : <p>I'm developing a web application in PHP in which a user can create tasks for other users to compete.</p>

<p>Those tasks are then stored in MySQL Database.</p>

<p>My question is, How can I cycle through those tasks from the database and present It to the users while keeping track of which tasks that user has completed to avoid presenting the same task to that user. All while also providing the user who created a task with number of users who have completed his/her task.</p>

<p>How can I accomplish this in PHP?</p>
