Page 1 of 1

n00b, Creating News and Archive...

Posted: Tue Jan 21, 2003 2:57 pm
by RavynX
Hey everyone, yes I'm new here and to php. Anyways, I picked up the Beginning PHP4 (Big red book) and I'm starting to read and try things. Anyways, I've been doing HTML for a couple years and I took a Computer Science course back in HS, and I see that's it's pretty similar. Anyways, I've used Include and also Switch statements for my site so far ( http://www.ravynx.net/ ) so that if I needed to changed one of the links on the right/left I wouldn't have to do it to every single page.

Getting to the point now, I'd like to be able to post like a daily or weekly update on the portion that first loads with my page, but I'm not sure how. In doing this, I'd like to be able to go to a page only I know about on my site to login and then type my post, submit it, and it would then be on the first page. I'd need of course, like what you see on my page, Name - Day of Week: Month, Day, Year or something to that like in format for the title portion.

The other part to this Daily/Weekly posting would be that of Archiving. Say they main page will only hold 10 or so posts. I'd like for the others to be Archived (link on the left on my page). Possibly Categorized by Month/Year. How would I go about doing that in the code?

I'm not asking for exact code, just an idea of how difficult this would be, how much more I'd have to learn before I could accomplish this, and if I would need databases and such. I'm still learning you know. =P

I have done a search for code and such, but all I've found were like "Make your whole site a news post," which is what I don't want to do. I just need the main page for news.

Anyways, any help, comments, and constructive criticism would be greatly appreciated. I'd like to get my site rolling once again.

Thanks! :)