fix: remove print
This commit is contained in:
parent
e1a0f112a2
commit
acfae23029
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user