Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
7810fff20b |
@ -52,7 +52,7 @@
|
|||||||
public function deleteEnthaelt($id){
|
public function deleteEnthaelt($id){
|
||||||
$pdo=$this->linkDB();
|
$pdo=$this->linkDB();
|
||||||
$params = array();
|
$params = array();
|
||||||
$sql = "DELETE FROM Enthaelt WHERE id=:id";
|
$sql = "DELETE FROM Enthaelt WHERE id=:id;";
|
||||||
$params[":id"] = $id;
|
$params[":id"] = $id;
|
||||||
try{
|
try{
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
public function getInhaltsstoff(){
|
public function getInhaltsstoff(){
|
||||||
$pdo=$this->linkDB();
|
$pdo=$this->linkDB();
|
||||||
$sql = "SELECT * FROM Inhaltsstoff";
|
$sql = "SELECT * FROM Inhaltsstoff;";
|
||||||
try{
|
try{
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
@ -49,7 +49,7 @@
|
|||||||
public function deleteInhaltsstoff($id){
|
public function deleteInhaltsstoff($id){
|
||||||
$pdo=$this->linkDB();
|
$pdo=$this->linkDB();
|
||||||
$params = array();
|
$params = array();
|
||||||
$sql = "DELETE FROM Inhalsstoff WHERE id=:id";
|
$sql = "DELETE FROM Inhalsstoff WHERE id=:id;";
|
||||||
$params[":id"] = $id;
|
$params[":id"] = $id;
|
||||||
try{
|
try{
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
public function getTagesplan(){
|
public function getTagesplan(){
|
||||||
$pdo=$this->linkDB();
|
$pdo=$this->linkDB();
|
||||||
$sql = "SELECT * FROM Tagesplan";
|
$sql = "SELECT * FROM Tagesplan;";
|
||||||
try{
|
try{
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
@ -49,7 +49,7 @@
|
|||||||
public function delteTagesplan($id){
|
public function delteTagesplan($id){
|
||||||
$pdo=$this->linkDB();
|
$pdo=$this->linkDB();
|
||||||
$params = array();
|
$params = array();
|
||||||
$sql = "DELETE FROM Tagesplan WHERE id=:id";
|
$sql = "DELETE FROM Tagesplan WHERE id=:id;";
|
||||||
$params[":id"] = $id;
|
$params[":id"] = $id;
|
||||||
try{
|
try{
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user