Ok, well that's what I was talking about with reading up on the website. There's heaps of great information on this on the site.
I will say though, that while you're young it's best to get into good programming habits. A lot of people on this board are more hobbist programmers I think because there seems to be a lot of people with bad coding habits, which you certainly would want to get rid of if you would one day like to take this up as your profession.
Have you learnt database normalisation yet? If not, go read some articles on that now. It's too much for me to post here.
You will need to come up with a normalised design to efficiently store this kind of data, and that will most likely span multiple tables.
Here is an example structure you could use, but really you need to sit down and work out exactly what data you would like to store, and then normalise it using various normaisation techniques.
Users:
iID int
sUserName varchar(50)
sFirstName varchar(50)
sLastName varchar(50)
sPassword varchar(50)
Articles:
iID int
iUserID int
sTitle varchar(50)
sIntroText varchar(255)
sMainText text
dtEntered datetime
bArchived tinyint
Notice how I've used normalisation to seperate the Users data from the Article data... you will need to read up on this. It can get a bit tricky when trying to store more complex data relationships.
Also notice I prefix field names with a i for Integer or s for String etc. I recommend you getting in the habbit of doing this for all of your variables in both PHP and MySQL.
Anyway, in the end it's up to you what data you would like to store... Have a look at some example forum/message board scripts for some ideas. I even learnt php by reading the source code to the phpNuke scripts which you can download for free.
When you're building database driven websites, the first thing you do is of course build the database tables. So when you've finished that then you can go on to the php side of things.
-Adam 🙂