Checkbox Toggle

Hello guys I was wondering if the checkbox would get check when the date on $row[‘Due’] is reached for example 14/04/2013 is the date on Srow[‘Due’]. The checkbox should automatically get the date and check the checkbox permanently.

[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'] . "" .""; echo "
"; mysqli_close($con); ?>

[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service