Login #1

Merged
PBS2H21ASH merged 15 commits from feat/login into don 2023-01-18 08:40:26 +01:00
Showing only changes of commit acfae23029 - Show all commits

View File

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