T
he comments work, there's basically another table called news_comments with the rows post_id, name, uri, comment, ip and time. Which do the following:
post_id: This stores the ID number of the post which the comment is associated with, and therefore can be matched against a news post when pulling comments from the database.
name: Users name/alias used when posting a comment.
uri: The users URI to their web-site, if entered the comments will display the web-site address hyper-linked, if the value is null, nothing will be amended after the name is displayed.
comment: The comment posted by the user.
ip: The IP address from which the comment was posted, this will only be referred to when needed.
time: Time in epochs, used to order the posts in the order which they where added.
It all still needs tweaking and I need to make the front page posts include "X comment(s)" on the link so you can check if new comments have been posted, but as it stands the comments work and the rest of the system is being tinkered with. It's all good :)
(edit) The comments now display how many comments there are, that was easier than I thought, heh.
Comments Work
Wednesday th 9th of June 2004 at quarter to -FHRS-ERROR-
Wednesday th 9th of June 2004 at quarter to -FHRS-ERROR-
11 Comments




SPeedY_B @ 10 Jun 2004
Ta muchly :D
I'll add cookies tonight so you don't have to type your name every time :)
Ta muchly :D
I'll add cookies tonight so you don't have to type your name every time :)




Add Your Comment...
RSS
Nice work mate =p