Including pages and die()
Posted: Thu Aug 28, 2003 3:32 pm
My webpage is http://www.nigmanet.net as you can probably notice I have a file called index.php that takes a GET variable called 'id'. That id represents the index of an array that has the name of the file to be included. Then here is how it goes from there:
Now that works fine. But what if I use die() in the page that is included second? Then bottom.html is not included. Is there an easy way around this that allows you to still include all three files?
Thanks for any help provided.
Code: Select all
include_once('toppage.html');
include_once($arrayї$id]);
include_once('bottom.html');Thanks for any help provided.