Alternative way of exiting out of php?
Posted: Fri Feb 10, 2006 5:02 pm
I was wondering if there was an alternative way of exiting out of a block of php code without using exit, or break;
For example.
<php
I want to break out of this block
?>
//some HTML code here.
<?php
I want it to continue the script here, and execute the html before ?>
The reason being that I have a lot of HTML code at the bottom of my page.
It's more than just HTML code though, otherwise I'd just make a footer.php.
Any help is much appreciated.
Thanks.
For example.
<php
I want to break out of this block
?>
//some HTML code here.
<?php
I want it to continue the script here, and execute the html before ?>
The reason being that I have a lot of HTML code at the bottom of my page.
It's more than just HTML code though, otherwise I'd just make a footer.php.
Any help is much appreciated.
Thanks.