asd
This commit is contained in:
6
tools/printers.php
Normal file
6
tools/printers.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
function tools_fetch_active_printers(PDO $pdo): array
|
||||
{
|
||||
$stmt = $pdo->query("SELECT * FROM printers WHERE is_active = 1 ORDER BY name");
|
||||
return $stmt->fetchAll();
|
||||
}
|
||||
Reference in New Issue
Block a user