18 lines
395 B
PHP
18 lines
395 B
PHP
<?php
|
|
|
|
include "db.php";
|
|
|
|
$schools = db_query("SELECT * FROM schools WHERE status = 'Active'");
|
|
|
|
while ($row = db_fetch_assoc($schools)) {
|
|
extract($row);
|
|
$school_num = $record_num;
|
|
|
|
$results = db_query("SELECT * FROM text_data WHERE school_num = $school_num AND text_id = 'Volunteer Reminder'");
|
|
if (db_num_rows($results) == 0) {
|
|
echo("$school_num $school_name\n");
|
|
}
|
|
}
|
|
|
|
?>
|