I'm making an error page with three parts.
I want it to be like:
page.php?error=error1
page.php?error=error2
page.php?error=error3
I want it all to go to the same .tpl file.
I believe the way to do this is using switches. So I want it to be like
<!-- BEGIN error1 -->
content
<!-- END error1 -->
How do I make this work? I've never worked in the page.php?error=error1 part before. And how do I make all of these seperate errors use a different part of the .tpl file?
Thank you. Also could you kindly tell me what this is called? I have a really nice php and mysql book, but I cannot find this function.

