add: select
This commit is contained in:
parent
84bf6b2d36
commit
e31b7b6319
@ -111,7 +111,7 @@ class BancaDati {
|
|||||||
}
|
}
|
||||||
$sql = "SELECT * FROM ".$table." WHERE ".$where;
|
$sql = "SELECT * FROM ".$table." WHERE ".$where;
|
||||||
if(isset($order["by"])){
|
if(isset($order["by"])){
|
||||||
$sql .= " ORDER BY ".$order;
|
$sql .= " ORDER BY ".$order["by"];
|
||||||
}
|
}
|
||||||
if(isset($order["order"])){
|
if(isset($order["order"])){
|
||||||
$sql .= $order["order"];
|
$sql .= $order["order"];
|
||||||
|
Loading…
Reference in New Issue
Block a user