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 "Title | Lecturer | Start | Due | Completed |
---|---|---|---|---|
" . $row['Title'] . " | "; echo "" . $row['Lecturer'] . " | "; echo "" . $row['Start'] . " | "; echo "" . $row['Due'] . " | "; echo "" .""; echo " |
[/php]