Re: note 9599 added to Basic syntax

From: Date: Tue, 14 Nov 2000 19:04:12 +0000
Subject: Re: note 9599 added to Basic syntax
Groups: php.notes 
Request: Send a blank email to php-notes+get-7688@lists.php.net to get a copy of this message
This is the expected behavior as a page is being interpreted as a unit, and thus evaluated during the script execution as a whole. I do not know what scripting languages you have used that do no keep global information during execution of embedded parts of it in the *same* page, and I would like to know them, so I can avoid using those. Your note will be removed, as it is not an exceptional but rather the normal behavior for any scripting languages (look at embedded Perl, JSP, ASP, etc.) --- dws@mrao.cam.ac.uk wrote: > It doesn't mention it here, but it seems that > variables are preserved if you escape to PHP, go > back to HTML and re-escape to PHP later on in the > page. I couldn't find any mention of it here and > had to knock up a quick test page to find that out. > > Naich. > > http://www.php.net/manual/language.basic-syntax.php > > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/

« previous php.notes (#7688) next »