note 24221 deleted from tutorial.useful by bobby

From: Date: Wed, 08 Nov 2006 15:45:45 +0000
Subject: note 24221 deleted from tutorial.useful by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119515@lists.php.net to get a copy of this message
Note Submitter: mjbraca at hotNOSPAMmail dot com ---- It wasn't immediately obvious to me what would happen if I jumped from PHP to HTML and back within a function definition. But of course it does the "right thing": <? function foo () { echo "Enter foo..."; ?>Some HTML inside foo...<? echo "Leave foo."; } ?> <HTML><BODY> <? foo(); ?> </BODY></HTML> produces: Enter foo...Some HTML inside foo...Leave foo.

« previous php.notes (#119515) next »