Code: Select all
//books are out for 14 days
if (dateDiff($bookdue, $date) > 14 ) {
//patron fines pulled in earlier in the code
$fine = $patronfines +1
$finesql = "UPDATE patrons SET '$fine' WHERE code = $bookpatron";
mysql_query($finesql);
}
If any one could give me help that would be well... helpful
Thanks
Riley Childs