<input type = hidden name = cbx value = 0>
<input type = checkbox name = cbx value = 1>
..&cbx=0&cbx=1&...
$_GET['cbx'] = 0;
$_GET['cbx'] = 1;
private $lastping=0;
public function ping() {
if ((time()-$this->lastping)<10) return;
try {
self::$dbInstance->query('SELECT 1');
} catch {
self::$dbInstance=NULL;
self::getDB();
}
$this->lastping=time();
}