-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrefs.php
42 lines (34 loc) · 880 Bytes
/
refs.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<link rel=stylesheet href="style.css" type="text/css">
<link rel="shortcut icon" href="flower.ico">
<title>References - Useful Tropical Plants</title>
</head>
<body>
<div>
<?php
include_once 'functions.php';
include 'dbconnect.php';
include 'header.php';
$result = safe_query($db, "SELECT * FROM `References`");
$count = mysqli_num_rows($result);
for ($i = 1; $i< $count; $i++) {
#echo "hi";
$row = mysqli_fetch_assoc($result);
#print_r($row);
echo "<a id=".$row["No"]."></a>";
echo OutputBookRefRecord($row, false);
#echo "<hr/>";
}
#$row = mysqli_fetch_assoc($result);
#print_r($row);
#OutputBookRefRecord($row);
include 'footer.php';
mysqli_close($db);
?>
</div>
</body>
</html>