{"id":250,"date":"2026-01-29T17:05:40","date_gmt":"2026-01-29T16:05:40","guid":{"rendered":"https:\/\/wp.als070414ps.hemsida.eu\/?p=250"},"modified":"2026-01-29T17:05:40","modified_gmt":"2026-01-29T16:05:40","slug":"inloggnigstjanst-kopplat-till-databas","status":"publish","type":"post","link":"https:\/\/wp.als070414ps.hemsida.eu\/?p=250","title":{"rendered":"Inloggnigstj\u00e4nst kopplat till databas"},"content":{"rendered":"\n<p>L\u00e4nk: <a href=\"https:\/\/als070414ps.hemsida.eu\/webbserver\/moment\/m06\/index.php\">https:\/\/als070414ps.hemsida.eu\/webbserver\/moment\/m06\/index.php<\/a><\/p>\n\n\n\n<p>cSource: <a href=\"https:\/\/als070414ps.hemsida.eu\/webbserver\/source.php?path=moment\/m06\/\">https:\/\/als070414ps.hemsida.eu\/webbserver\/source.php?path=moment\/m06\/<\/a><\/p>\n\n\n\n<p>Att jobba med databaser k\u00e4ndes v\u00e4ldigt klurigt att b\u00f6rja med, men n\u00e4r man v\u00e4l l\u00e4rt sig grunden s\u00e5 var det v\u00e4ldigt praktiskt. Det sv\u00e5raste med databaser \u00e4r i princip att skapa dem i oderland och se till att det inte blir fel n\u00e4r man kopplar upp sig till den. mySQL-databaser \u00e4r v\u00e4ldigt mycket l\u00e4ttare \u00e4n json-databaser d\u00e5 man enkelt kan plocka ut exakt det man vill ha, utan att bl\u00e4ddra igenom allt tills man hittar r\u00e4tt. <\/p>\n\n\n\n<p>Sj\u00e4lva databasmodellen f\u00f6r momentet var mycket enkel:<\/p>\n\n\n\n<p>ER-Modell:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"540\" src=\"https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/80F28C62-1C39-4739-A6C2-2F9F06910DD1.png\" alt=\"\" class=\"wp-image-251\" style=\"aspect-ratio:1.4722536806342015;width:421px;height:auto\" srcset=\"https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/80F28C62-1C39-4739-A6C2-2F9F06910DD1.png 795w, https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/80F28C62-1C39-4739-A6C2-2F9F06910DD1-300x204.png 300w, https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/80F28C62-1C39-4739-A6C2-2F9F06910DD1-768x522.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p>I redgate\/vertabelo:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"311\" height=\"170\" src=\"https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/96A68820-6308-4388-9DFC-C42D69E62B71.png\" alt=\"\" class=\"wp-image-252\" srcset=\"https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/96A68820-6308-4388-9DFC-C42D69E62B71.png 311w, https:\/\/wp.als070414ps.hemsida.eu\/wp-content\/uploads\/2026\/01\/96A68820-6308-4388-9DFC-C42D69E62B71-300x164.png 300w\" sizes=\"auto, (max-width: 311px) 100vw, 311px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>L\u00e4nk: https:\/\/als070414ps.hemsida.eu\/webbserver\/moment\/m06\/index.php cSource: https:\/\/als070414ps.hemsida.eu\/webbserver\/source.php?path=moment\/m06\/ Att jobba med databaser k\u00e4ndes v\u00e4ldigt klurigt att b\u00f6rja med, men n\u00e4r man v\u00e4l l\u00e4rt sig grunden s\u00e5 var det v\u00e4ldigt praktiskt. Det sv\u00e5raste med databaser \u00e4r i princip att skapa dem i oderland och se till att det inte blir fel n\u00e4r man kopplar upp sig till den. mySQL-databaser \u00e4r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-okategoriserade"],"_links":{"self":[{"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":1,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":253,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions\/253"}],"wp:attachment":[{"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.als070414ps.hemsida.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}