On one page, I plan to run:
An update script -- to update database of preferences
A count script -- to count the number of downloads by user and insert each file in the database
A search script-- search the database
An upload script-- search the database
etc...
In and of themselves, they are simple, but the coding is getting kind of jumbled in notepad and I am making stupid mistakes. I am also planning to add more user functions as I get them done.
How do you all handle something like this? Do you use include and do each script on it's own file? And if you do this, is there a specific order? Meaning, if I have an include that has all the session variables, that would have to come before the upload include -- correct?
I hope this makes sense, and would really like some input on how you all keep everything clean and organized.
Thanks,
Mada