getBenutzer #13

Merged
PBS2H22AAL merged 2 commits from getBenutzer into main 2024-01-18 10:30:55 +01:00

View File

@ -9,12 +9,12 @@ use ppb\Library\Msg;
class BenutzerModel extends Database
{
public function selectBestellung($id)
public function selectBenutzer($id)
{
$pdo = $this->linkDB();
$params = array();
$sql = "SELECT FROM Benutzer WHERE id = :id";
$sql = "SELECT * FROM Benutzerkonto WHERE id = :id";
$params["id"] = $id;
//Ausführen des SQL befehls