Created
February 11, 2012 13:21
-
-
Save niquedegraaff/1799392 to your computer and use it in GitHub Desktop.
School - PHP - Week 1
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="nl"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Week 1 - Activiteit 1 - Hello World!</title> | |
</head> | |
<body> | |
<?php | |
/** | |
* @author Dominique de Graaff | |
* @since 11-02-2012 | |
*/ | |
print ("<h1>Hello World!</h1>\n"); | |
print ("\t\t | |
<p> | |
Stenden is een internationaal georiénteerde | |
hogeschool met vijf vestigingen in Noord Nederland en vijf | |
in het buitenland. Binnen deze internationale interculturele | |
omgeving speelt onze persoonlijke benadering een belangrijke | |
rol. Opleidingen worden aangeboden in voltijd, deeltijd of | |
in een combinatie van werken en leren. | |
</p>\n"); | |
?> | |
</body> | |
</html> |
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="nl"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Week 1 - Activiteit 2 - Dominique de Graaff</title> | |
<style type="text/css"> | |
span { display: inline-block; width: 200px; } | |
</style> | |
</head> | |
<body> | |
<?php | |
/** | |
* @author Dominique de Graaff | |
* @since 11-02-2012 | |
*/ | |
// Variables | |
$name = "Dominique de Graaff"; | |
$birth_date = "19-07-1984"; | |
$address = "Molenplaatsweg 23"; | |
$zipcode = "9531 KA"; | |
$city = "Borger"; | |
// Output | |
echo ("<h1>$name</h1>\n"); | |
echo ("\t\t | |
<p> | |
<span>Geboortedatum:</span> $birth_date<br> | |
<span>Adres:</span> $address<br> | |
<span>Postcode & Woonplaats:</span> $zipcode $city<br> | |
</p>\n"); | |
?> | |
</body> | |
</html> |
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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Week 1 - Activiteit 3 - Fouten opsporen</title> | |
</head> | |
<body> | |
<?php | |
/** | |
* @author Dominique de Graaff | |
* @since 11-02-2012 | |
*/ | |
echo "<h1>Califoria Occuptional Guide</h1>\n"; | |
echo ("\t\t<h2>Locksmiths</h2>\n"); | |
echo "\t\t | |
<p> | |
A locksmith installs, services, | |
and repairs various types of locks and … . | |
</p>\n"; | |
?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment