Commit | Line | Data |
---|---|---|
5b6b4e02 PM |
1 | <?PHP include_once('../header.php'); ?> |
2 | <meta http-equiv="refresh" content="1"> | |
3 | <h1> | |
4 | <?PHP | |
5 | $expected = 4194252; | |
6 | if ($result = $petition->query("SELECT VTRID FROM VoterList")) { | |
7 | $row_cnt = $result->num_rows; | |
8 | $c = $row_cnt / $expected; | |
9 | $p = number_format($c,2)*100; | |
10 | echo date('r').' '.number_format($row_cnt).' out of '.number_format($expected).' '.$p.'% done.'; | |
11 | } ?> | |
12 | </h1> | |
13 | <?PHP include_once('../footer.php'); ?> |