Originally posted by seby
its a matter of preference.
It is a matter of preference. I would lean towards a balance of both, using query string variables and seperate pages. For me, I try to group site activities into one PHP file and pass query strings around to persuade this one file to do different tricks. Example, if I need to user manager that allows users to: register as a new user, reset their lost password, handle login validation, change their user details. For activities like this, I tend to put them all into one file. If you use templates, then this one file can be copied to other sites. You'd know this file works and you shouldn't have to make too many changes to the PHP code itself. Sure, you'd have to update the templates since they'd contain the HTML code.
Plus its a matter of how you lay the file out and how organized you make it. If you have HTML mixed with PHP, its going to be much more difficult to manage a large file (and by having HTML mixed in, it makes the file even larger). If its strictly PHP, it tends to be a lot easier. Also if you follow a function naming convention, then that can help as well.
As mentioned, it boils down to personal preference. As you do more of this, you'll figure out what works best for you.