''"); while ($row = db_fetch_array($results)) { echo($row['contact_email'] . "\n"); } // Get secondary contact email address $results = db_query("select contact2_email from schools where status in ('Pending','Trial','Active') and contact2_email is not null and contact2_email > ''"); while ($row = db_fetch_array($results)) { echo($row['contact2_email'] . "\n"); } ?>