Merge pull request 'getBenutzer' (#13) from getBenutzer into main
Reviewed-on: #13
This commit is contained in:
commit
28dc1b076f
@ -9,12 +9,12 @@ use ppb\Library\Msg;
|
|||||||
|
|
||||||
class BenutzerModel extends Database
|
class BenutzerModel extends Database
|
||||||
{
|
{
|
||||||
public function selectBestellung($id)
|
public function selectBenutzer($id)
|
||||||
{
|
{
|
||||||
$pdo = $this->linkDB();
|
$pdo = $this->linkDB();
|
||||||
|
|
||||||
$params = array();
|
$params = array();
|
||||||
$sql = "SELECT FROM Benutzer WHERE id = :id";
|
$sql = "SELECT * FROM Benutzerkonto WHERE id = :id";
|
||||||
$params["id"] = $id;
|
$params["id"] = $id;
|
||||||
|
|
||||||
//Ausführen des SQL befehls
|
//Ausführen des SQL befehls
|
||||||
|
Loading…
Reference in New Issue
Block a user