Files
HotLunches/invoice_generated.php
2026-10-19 15:22:52 -07:00

16 lines
322 B
PHP

<?php
include "db.php";
$school_year = "2015/2016";
$query = "SELECT * FROM invoice_header WHERE school_year = '$school_year'";
$results = db_query($query);
while ($row = db_fetch_assoc($results)) {
extract($row);
db_query("UPDATE schools SET renewal_invoice_issued = 'Y' WHERE record_num = $school_num");
}
?>