Is there a way to cease loading the rest of the original page with php, inside an include?
eg.
main.php
<?
include 'top.php';
?>
The rest of the page
top.php
<?
If ($displayallofpage == 'no'):
??? STOP LOADING HERE
ELSE:
PRINT "Below is...<BR><BR>";
ENDIF;
?>
desired results:
-$displayallofpage = no
Below is
-$displayallofpage = yes
Below is
The rest of the page
Any clues? Sorry if it's too hard to understand, I didn't know how to say what I meant.
Thanks,
Seam Dolan