1<?php 2// $Id$ 3 4include_once '../include/functions.inc'; 5 6require_token(); 7 8if (db_connect(FALSE)) { 9 echo db_get_one("SELECT COUNT(*) FROM phpmasterdb.note"), "\n"; 10 echo db_get_one("SELECT COUNT(*) FROM phphosts.hosts"), "\n"; 11 echo db_get_one("SELECT COUNT(*) FROM phpmasterdb.bugdb"), "\n"; 12 echo db_get_one("SELECT COUNT(*) FROM phpmasterdb.bugdb WHERE status IN ('Open', 'Assigned', 'Analyzed', 'Critical')"), "\n"; 13} 14