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

15 lines
337 B
PHP

<?php
include "db.php";
$query = "SELECT school_name, start_date, rep FROM schools WHERE status = 'Active' AND rep = 'N' AND start_date < '2012-12-31' ORDER BY start_date";
$schools = db_query($query);
while ($row = db_fetch_assoc($schools)) {
extract($row);
$sname = $school_name;
echo("$start_date $rep - $sname\n");
}
?>