Check box when a certain date is reached!

[php]

<?php $con=mysqli_connect("localhost","root","","User_db"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * FROM Assessments"); echo ""; while($row = mysqli_fetch_array($result)) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
Title Lecturer Start Due Completed
" . $row['Title'] . "" . $row['Lecturer'] . "" . $row['Start'] . "" . $row['Due'] . "" . $row['Completed'] . ""; echo "
"; mysqli_close($con); ?>

[/php]
Hi guys I wondering if there was a way that the checkbox gets automatically checked when for example if the due date is on 12/04/2013 then it checks the date and automatically checks the checkbox and it always stays checked, cannot be unchecked?

Sponsor our Newsletter | Privacy Policy | Terms of Service