15 lines
337 B
PHP
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");
|
|
}
|
|
|
|
|
|
?>
|