Hello, I am working on a site that will have content in different categories. Within the categories, there will be subjects. Within the subjects, there will be articles. I came up with this that will determine whether the article number, subject, or category was set. An example URL would be:
here is my logic (might be very bad):
Check if article was set ($_GET).
if it was, combine whatever was set for the category, subject, and article into a filename.php.
If it wasnt,
check wether a subject was set....etc..
here is what i have, but only the code above the script will show up in the browser.(only the header)
How would i fix this? I was guessing syntax was the problem, but i check and rechecked...maybe my logic is just failing me today...did I use the exit(); command inappropriately? thanks in advance!
