{"id":459,"date":"2016-05-24T12:30:16","date_gmt":"2016-05-24T10:30:16","guid":{"rendered":"https:\/\/inf.gymgmunden.at\/?p=459"},"modified":"2016-05-24T12:30:16","modified_gmt":"2016-05-24T10:30:16","slug":"datenbankanbindung","status":"publish","type":"post","link":"https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/","title":{"rendered":"Datenbankanbindung"},"content":{"rendered":"<p>Diese Woche im WPG Inf 7:<\/p>\n<p>Nach einer Woche Pause wiederholten wir die Daten\u00fcbergabe per Formular und erlernten gleichzeitig die Anbindung eines serverseitigen PHP-Skripts mittels eines Connectors an einen Datenbankserver. Relativ viel Neues auf einmal, zumal damit einher das grundlegende Erlernen der Datenbank-Manipulationssprache SQL einhergeht.<\/p>\n<p>Aber gut gemeistert, gemeinsam haben wir eine kleine Applikation zur Benutzerverwaltung geschrieben: Eine Datenbank mit einer entsprechenden Tabelle zum Speichern der Benutzerdaten angelegt; ein PHP-Skript, mithilfe dessen neue Eintr\u00e4ge hinzugef\u00fcgt (INSERT INTO &#8230;) und gel\u00f6scht (DELETE FROM&#8230;) werden k\u00f6nnen, au\u00dferdem werden alle angelegten Benutzer angezeigt (SELECT * FROM &#8230;).<\/p>\n<p>W\u00e4hrendessen programmieren Gabriel und Jakob in anderen Sph\u00e4ren \ud83d\ude42<\/p>\n<div id='gallery-1' class='gallery galleryid-459 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/dilly01\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/05\/dilly01-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/delete01\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/05\/delete01-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/insert01\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/05\/insert01-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/select01\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/05\/select01-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/inf.gymgmunden.at\/index.php\/2016\/05\/24\/datenbankanbindung\/db01\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/inf.gymgmunden.at\/wp-content\/uploads\/2016\/05\/db01-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Diese Woche im WPG Inf 7: Nach einer Woche Pause wiederholten wir die Daten\u00fcbergabe per Formular und erlernten gleichzeitig die Anbindung eines serverseitigen PHP-Skripts mittels eines Connectors an einen Datenbankserver. Relativ viel Neues auf einmal, zumal damit einher das grundlegende Erlernen der Datenbank-Manipulationssprache SQL einhergeht. Aber gut gemeistert, gemeinsam haben wir eine kleine Applikation zur [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10,5],"tags":[],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-php","category-programmieren","category-wpg-inf-7-no-excuses"],"_links":{"self":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":1,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"predecessor-version":[{"id":465,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions\/465"}],"wp:attachment":[{"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inf.gymgmunden.at\/index.php\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}