First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
include "db.php";
|
||||
|
||||
$domain = readline("Enter domain: ");
|
||||
if (strlen($domain) == 0) exit();
|
||||
|
||||
$query = "SELECT school_name, url FROM schools WHERE status IN ('Active','Linked','Special') AND url LIKE '%$domain' ORDER BY school_name";
|
||||
$schools = db_query($query);
|
||||
|
||||
|
||||
while ($row = db_fetch_assoc($schools)) {
|
||||
extract($row);
|
||||
printf("%-40s: %s\n",$school_name,$url);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user