More Select * Queries convert

This commit is contained in:
johnnyq
2026-08-06 13:57:46 -04:00
parent 108781db5b
commit f8899e592f
9 changed files with 22 additions and 18 deletions

View File

@@ -292,7 +292,7 @@ if (isset($_POST['export_software'])) {
$sql = mysqli_query(
$mysqli,
"SELECT * FROM software
"SELECT software_id FROM software
LEFT JOIN clients ON client_id = software_client_id
LEFT JOIN vendors ON vendor_id = software_vendor_id
WHERE (software_name LIKE '%$q%' OR software_type LIKE '%$q%' OR software_key LIKE '%$q%' OR client_name LIKE '%$q%')