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

View File

@@ -0,0 +1,36 @@
<?php
error_reporting(E_ERROR);
$username="corey";
$password="41945549";
$database="controls";
mysql_connect('127.0.0.1',$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT DATE_FORMAT(Z_TIMESTAMP,'%Y-%m-%d') AS date, PREVTONS FROM milling GROUP BY PREVTONS ORDER BY id DESC LIMIT 10";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
?>
<?php
$i=0;
while ($i < $num) {
$f1=mysql_result($result,$i,"date");
$f2=mysql_result($result,$i,"PREVTONS");
?>
<table border="1" style="border-collapse: collapse; margin: 0px auto;">
<tr>
<td><?php echo $f1; ?></td>
<td><?php echo $f2; ?></td>
</tr>
</table>
<?php
$i++;
}
?>