-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestview.php
64 lines (43 loc) · 1.44 KB
/
testview.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
54
55
56
57
58
59
60
61
62
63
64
<?php
//if (session_status() !== PHP_SESSION_ACTIVE) {session_start();}
session_start();
include('confs/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Online Book Store</title>
<link href="bootstrap/css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="bootstrap/css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="bootstrap/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/font-awesome.css">
<script src="js/vendor/modernizr.js"></script>
</head>
<body>
<style>
form{
margin: 12px;
padding: 12px;
}
</style>
<h1>test</h1>
</body>
<?php
$result = mysqli_query($mysqli,"SELECT orange FROM example");
while($row = mysqli_fetch_assoc($result)){
?>
<input type="checkbox" name="Days[]" value="Daily"><?php echo $row['orange']?><br>
<?php
} ?>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>
?>