$post_array
, where each element
represents a blog post. A blog post is in turn an array that consists
of:
The file should be included in your program using "require".
Your task is to write a php program that creates a page with these entries. The page should be displayed using the CSS files designed in task 1. When you are generating HTML in your php code, make sure to insert appropriate HTML tags (for instance, em for the user name) and appropriate CSS classes if needed.
Here is the array of comments for one the post: comment_data.php. For this task you need to include both the post_data.php and the comment_data.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 this part on your own.