|
Posted by MS on 11/13/07 16:50
Hi,
Is there a php function that will stop executing the php code, but do any
necessary clean-up, like die(), and will then go on to process any html in
the file that is below the '?>' end php tag? Both die() and exit() exit
without processing the html after the end php tag.
E.G.
SOME HTML...
<?php
SOME PHP...
Call End PHP processing function (jumps to end the page neatly html).
?>
END PAGE NEATLY HTML...
Or must I place the end page html in a php function and call that, say, as
part of a MyDie() function.
Thanks.
Navigation:
[Reply to this message]
|