Folder reorganize 1

This commit is contained in:
Rucus
2026-02-17 12:44:37 -06:00
parent ec99d85bc2
commit f0ae0ab905
17427 changed files with 2071 additions and 1059030 deletions

25
data/OLD/totground.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
include("../dbinfo.php");
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$query = "SELECT DISTINCT PREVTONS FROM totaltons";
$result=$conn->query($query);
$tonsin = 0;
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
$tonsin += $row['PREVTONS'];
}
} else {
echo "0 results";
}
$conn->close();
?>
<?php echo ($tonsin)+0; ?>