Class 10
Discussions
Examples
Homework
- Complete XHTML and CSS coding of your final projects.
- (optional) Add comment functionality to your previously-completed message board assignments. See wireframes here. This assignment is meant to drive home the use of foreign keys in MySQL. You’re going to want to create a new table in your database called something like “comments” that holds all comments. That comments table will have a column in it called “post_id” or something like that which stores the id of the message board to post to which each comment corresponds. This is the foreign key of the comments table. You’ll probably want to brush up on the relationship between multiple tables in this post, and joining multiple tables in a SQL query in this post.