chore: update document approval workflow and bug fixes
This commit is contained in:
14
check.php
Normal file
14
check.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$mysqli = new mysqli("127.0.0.1", "root", "", "gsb_cons");
|
||||
if ($mysqli->connect_error) {
|
||||
die("Connection failed: " . $mysqli->connect_error);
|
||||
}
|
||||
$result = $mysqli->query("SHOW COLUMNS FROM daily_reports");
|
||||
if ($result) {
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
echo $row['Field'] . "\n";
|
||||
}
|
||||
} else {
|
||||
echo "Error: " . $mysqli->error;
|
||||
}
|
||||
$mysqli->close();
|
||||
Reference in New Issue
Block a user