diff options
Diffstat (limited to 'archive.php')
-rw-r--r-- | archive.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..02fffbf --- /dev/null +++ b/archive.php | |||
@@ -0,0 +1,23 @@ | |||
1 | <?php | ||
2 | |||
3 | include('header.php'); | ||
4 | |||
5 | ?> <H1>Archive</H1> | ||
6 | |||
7 | <UL ID="archive"> | ||
8 | <?php | ||
9 | |||
10 | $getimages = "SELECT * FROM images ORDER BY id ASC"; | ||
11 | $getimages2 = mysql_query($getimages); | ||
12 | while ($getimages3 = mysql_fetch_array($getimages2)) | ||
13 | { | ||
14 | ?> <LI><A HREF="/comic<?php echo($getimages3['id']); ?>.htm"><?php echo($getimages3['title']); ?></A></LI> | ||
15 | <?php | ||
16 | } | ||
17 | |||
18 | ?> </UL> | ||
19 | <?php | ||
20 | |||
21 | include('footer.php'); | ||
22 | |||
23 | ?> | ||