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 5fea5ad15f - Show all commits

View File

@ -71,7 +71,7 @@ class BancaDati {
public function update(string $table, string $id, array $values){
$value = "";
foreach ($values as $col => $v){
$value .= $col . "=" . $v . ",";
$value .= $col . "=" . "'" . $v . "'" . ",";
}
$value = trim($value, ",");
@ -80,6 +80,7 @@ class BancaDati {
$sth = $this->pdo->prepare($sql);
$sth->execute();
}catch (PDOException $e){
var_dump($e);
die;
}
}