fix: remove print

This commit is contained in:
Johannes Kantz 2023-01-12 14:37:11 +01:00
parent e1a0f112a2
commit acfae23029

View File

@ -111,7 +111,6 @@ class BancaDati {
$where .= $col . "=" . "'" . $v . "'"; $where .= $col . "=" . "'" . $v . "'";
} }
$sql = "SELECT * FROM ".$table." WHERE ".$where; $sql = "SELECT * FROM ".$table." WHERE ".$where;
var_dump($sql);
if(isset($order["by"])){ if(isset($order["by"])){
$sql .= " ORDER BY ".$order["by"]; $sql .= " ORDER BY ".$order["by"];
} }
@ -121,7 +120,6 @@ class BancaDati {
try { try {
return $this->pdo->query($sql); return $this->pdo->query($sql);
}catch (PDOException $e){ }catch (PDOException $e){
var_dump($e);
die; die;
} }
} }