PDO::ERRMODE_EXCEPTION )); } catch (Exception $e) { die("Error : ".$e->getMessage()); } $req = $db->prepare('SELECT COUNT(*) AS counter FROM `records`'); $req->execute(); if ($data = $req->fetch()) { $record_counter = $data['counter']; } $req = $db->prepare('SELECT COUNT(*) AS counter FROM `authors`'); $req->execute(); if ($data = $req->fetch()) { $user_counter = $data['counter']; } $req = $db->prepare('SELECT COUNT(*) AS counter FROM `taxa`'); $req->execute(); if ($data = $req->fetch()) { $taxa_counter = $data['counter']; } ?>
Records Uploaded
Users Registered
Taxa Available
of Free space