This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* file: action.php | |
* purpose: INSERT INTO | |
**/ | |
$sql = "INSERT INTO `navne` (`navne_id`, `fornavn`, `efternavn`, `email`) VALUES (NULL, '" . $_GET['firstName'] . "', '".$_GET['lastName']."', '". $_GET['gender'] ."')"; | |
echo $sql; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// CONNECT TO THE SAKILA DATABASE | |
$mysqli = new mysqli( | |
"localhost", | |
"root", | |
"mojndo", | |
"forta_cnt1" | |
); // creates the object |
Dependencies:
- Mat Moul g810-led
- Appjar
Install appjar:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# file: test.py | |
# purpose: simple internet radio player for a pi or similar | |
# by: per thykjaer jensen | |
# dependencies: mplayer | |
''' | |
mplayer turns into a zombie on ctrl+z | |
if it's a problem kill them ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
</head> | |
<body> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// egenskaber | |
var isbutik = { | |
adresse: "Paradisgade 121", | |
tlf: "12345678", | |
antalIspinde: 345, | |
}; | |
isbutik.isMand = "Palle From"; | |
isbutik.aaben = "09:00 - 23:30"; | |
isbutik.harViAabenNu = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<head> | |
<title>Form sample</title> | |
</head> | |
<form action="#" method="get"> | |
<label>Hvad mener du om ---?</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
img { | |
width: 100px; | |
height: auto; | |
} | |
</style> |