diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 13:15:37 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 13:15:37 -0500 |
commit | eee98526c48b9154cd9e9bc8bc3e07769e6a39ea (patch) | |
tree | 9d8d719a2ccea91de86435ccd985241ddb3fa0cb /pages/archive.php | |
parent | 653c7b3a488488d4b161a8fae41ada5851bf7685 (diff) | |
download | pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.gz pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.bz2 pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.zip |
Rewrote Pillowcase
NOTE: There is a new database schema now, so the database from the testing server has to be copied over to the production server, otherwise this code will fail.
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> | ||