First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<pre>
|
||||
<?php
|
||||
include "db.php";
|
||||
|
||||
$start = date("Y-m-d",time() - 60 * 60 * 24 * 120);
|
||||
$schools = db_query("SELECT school_name,city,province,substr(start_date,0,7) AS start_month FROM schools WHERE status = 'Active' AND start_date > '$start' ORDER BY start_date ASC");
|
||||
while ($row = db_fetch_array($schools)) {
|
||||
extract($row);
|
||||
echo("$school_name - $city, $province\n");
|
||||
}
|
||||
|
||||
?>
|
||||
</pre>
|
||||
Reference in new issue
Block a user