Exiting in a include page.
Posted: Sun May 20, 2007 8:09 pm
page 1:
page 2:
How do I only exit an include script and not effect the echo statement in page 2?
Code: Select all
<?php
exit; //replace with a function or that would just stop this page 1 from running.
?>
Code: Select all
<?php
include("page1.php");
echo "This should display";
?>