mescole update

This commit is contained in:
2026-03-06 08:42:18 +01:00
parent 22e5b90fe4
commit 245750f057
10 changed files with 970 additions and 89 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
include('include/headscript.php');
header('Content-Type: application/json');
$db = DBHandlerSelect::getInstance();
$pdo = $db->getConnection();
$stmt = $pdo->query("SELECT idsupplier, supplier_name FROM suppliers ORDER BY supplier_name ASC");
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo json_encode(['success' => true, 'rows' => $rows]);