Function Reqest/Question
| From: | Anil | Date: | Mon, 02 Jul 2001 17:32:06 +0000 |
| Subject: | Function Reqest/Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55871@lists.php.net to get a copy of this message | ||
Is there a func() that will let me break or skip to the END of the <? ?>
code
snippet?
I have a file that contains both HTML and PHP.
<html header code>
<? if condition "skip;" ... php code ... ?>
<html footer code>
I know there are several ways of attacking this. Including making a func()
that outputs the footer - skip() containing a bunch of print statements with
the footer html. ...
I was hoping for a straight forward solution built into php. I tried to use
return 0; but that didn't work it seems to stop loading the rest of the
page.
Thanks in advance.