add: select

This commit is contained in:
Malte Schulze Hobeling 2023-01-11 14:41:30 +01:00
parent 84bf6b2d36
commit e31b7b6319

View File

@ -111,7 +111,7 @@ class BancaDati {
}
$sql = "SELECT * FROM ".$table." WHERE ".$where;
if(isset($order["by"])){
$sql .= " ORDER BY ".$order;
$sql .= " ORDER BY ".$order["by"];
}
if(isset($order["order"])){
$sql .= $order["order"];