Compare commits

...

3 Commits

Author SHA1 Message Date
28dc1b076f Merge pull request 'getBenutzer' (#13) from getBenutzer into main
Reviewed-on: #13
2024-01-18 10:30:54 +01:00
137c0f7550 getestet 2024-01-18 10:28:16 +01:00
5caa672a26 BenutzerV2 2024-01-18 10:14:52 +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