Does anyone know a good script that takes care of storing and displaying articles?
Article Script
If you're looking for an online newspaper-style script, I've written a hugely comprehensive one. It's still in serious beta, but you can see it at http://cornerstone.nebrwesleyan.edu/; the layout is totally negotiable without mucking around in PHP. I still have a todo list about a mile long, but it would certainly get you started if that's the sort of thing you're looking for. (Plus, it's GPLed, which is always nice.)
saintp: Please send me an email.
Thanks.
Nemo.
Wow you are from NE Wesleyan Univ. I am not from the states but I took my BS from UNL. Anyway,
Actually, I am looking for something like the PHPBuilder section where people write comment under each article. I like the PHPBuilder Article Section.
You might want to check out PHP-Nuke -- it's similar to what /. uses. It's probably way bigger than what you want, but it's also open-source so you can hack it into whatever shape you need. I'm almost positive that will have the functionality you're looking for.
Nemonoman: I'd love to email you, but I neither have your addy nor have you permitted people to email you through your profile. I suppose I've done the same, but you can reach me at cas1650@spam-is-evil.nebrwesleyan.i-hate-spam.edu if you're interested.
Sorry Guys
I am still lost; at least can someone show me the structure of the database that will hold the comments.
So simple yet made to sound so hard.
Ok.
A articles database would need things such as an author for credit, article as in text.. and id so when we add comments we have that id..
A simple structure would be like a News Script
id | title | author | article |
You may wanna split the pages up using a word limiter for each page
Kinda like using the LIMIT statement to make next/previous links.
Now im not sure on how you'd go about that.
Ok now for a commenting system
We need something thats gonna relate to the id of the articles db
so make a feild called cid
id | cid | title | commentor | comment |date |