diff options
Diffstat (limited to 'pages/archive.php')
| -rw-r--r-- | pages/archive.php | 14 |
1 files changed, 14 insertions, 0 deletions
| diff --git a/pages/archive.php b/pages/archive.php new file mode 100644 index 0000000..c1cd8ab --- /dev/null +++ b/pages/archive.php | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <H1>Archive</H1> | ||
| 2 | |||
| 3 | <UL ID="archive"> | ||
| 4 | <?php | ||
| 5 | |||
| 6 | $getcomics = "SELECT * FROM comics WHERE status = \"publish\" ORDER BY comic_id ASC"; | ||
| 7 | $getcomics2 = mysql_query($getcomics); | ||
| 8 | while ($getcomics3 = mysql_fetch_array($getcomics2)) | ||
| 9 | { | ||
| 10 | ?> <LI><A HREF="/comic<?php echo($getcomics3['comic_id']); ?>.htm"><?php echo($getcomics3['title']); ?></A></LI> | ||
| 11 | <?php | ||
| 12 | } | ||
| 13 | |||
| 14 | ?> </UL> | ||
