I'm making an article system to allow people to add content to my website and make it easier for me as well.
I've made a script that places data into a table with the fields id (auto_increment), title, Email address, date, body, general_cat, funny_cat, help_cat, quiz_cat, chat_cat, game_cat, name and username. I've also made a script that echos an article due to the id given. ex:
http://www.godofgod.co.uk/newssub/view_article.php?id=2
It works fine how I want it to. However I need to create a script that will show links to the articles. I want to echo links to all the articles where general_cat is 1 (A category for my articles) then funny_cat and so on under subtitles to help organise the articles. I want only 10 links for each category where newest articles are shown first (newer ids). I want the link to go to http://www.godofgod.co.uk/newssub?view_article.php?id=$id and the link to be shown as the articles title.
I've tried to do this but I'm too new to php to succeed. This is an important part as this will show the newest articles. Please explain what I'll need to do with understanding I know very little at the moment. Thanks for any help.
If you need any more information please tell me.