Ok, this has to do with locations of articles. I have made a Tutorials page:
http://www.securityglitch.com/Tutorials
Then when you click on Web hacking for example, it will open up a page where web hacking articles will be displayed. I also have a 'write article' page so people can submit articles to the site. It has a drop box for the category which has the same categories that are listed on /Tutorials.
Now, my question is, how do i make an article link show up on the right page? Like if I select Web Hacking from the drop down box, how do i make the link to that article echo on the Web Hacking page and not any other pages?
Article Locations
Moderator: General Moderators
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
-
sk8erh4x0r
- Forum Commoner
- Posts: 43
- Joined: Wed May 26, 2004 8:27 pm
-
sk8erh4x0r
- Forum Commoner
- Posts: 43
- Joined: Wed May 26, 2004 8:27 pm
COMPLETED
I have figured out how to do this and now it is up and running. I have the category insert as a number. then, for example, if Web Hacking is section.php?section=1, the category number in the database is 1 for anything web hacking. The select query selects category where id = $section.