testsprite 전략 수립
This commit is contained in:
14
debug_db.php
Normal file
14
debug_db.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
require_once("lib/mydb.php");
|
||||
$pdo = db_connect();
|
||||
echo "--- sales_tenant_scenarios structure ---\n";
|
||||
$stmt = $pdo->query("DESC sales_tenant_scenarios");
|
||||
while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
print_r($row);
|
||||
}
|
||||
echo "--- sales_tenant_scenarios data ---\n";
|
||||
$stmt = $pdo->query("SELECT * FROM sales_tenant_scenarios LIMIT 10");
|
||||
while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
print_r($row);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user