The display style of the blog pages must be set using external CSS files. An occasional in-line style is OK, but beware that those can easily get out of hand. You should have at least two different CSS files for your blog.
There are two ways in which you can set a layout of a page: using tables an using CSS formatting features. To start with, you should use tables to format your page. We may cover CSS formatting later in the course, or you can read ahead if you prefer to use that instead of (or in addition to) tables.
$postarray, where each element represents a blog post. A blog post is in turn an array that consists of:
Here is the array of comments for one the post: blog_comments.php. For this task you need to include both the blog_entries.php and the blog_comments.php files into your php file so that you can get the text of the post as well. The page must display the post and all the comments.
You also need a page that displays user information: the login name and the display name. Since there isn't much test data, you can write the test data for thsi part on your own.
When working in groups, you can use any one of the accounts. Note that you can copy files from another person's public_html, but not store them there. Make sure to backup files often and not to overwrite your own files when you are copying your partner's files. Printing out your files and/or sending them to yourself and your partner by e-mail doesn't hurt, either. And remember that communication is always a must: make sure to talk to your partner before you change something drastic in the project.
You must document the authorship of all work: when you have edited a file, write a comment in the beginning about what you did and when. If you both are working together, make a comment about that.
This page is a part of CSci 1101 course web site.
The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.