[nycphp-talk] <script language="php">
Emmanuel. M. Decarie
emm at scriptdigital.com
Fri Feb 7 21:00:15 EST 2003
À (At) 19:16 -0500 06/02/03, Jon Baer écrivait (wrote) :
><script language="php">
>// examine all GET, POST, SQL, fill arrays, etc //
></script>
>
><html>
>// rest of the page
>
>It should be a written rule/law somewhere to do all your PHP/JSP work @ the
>top of the page :-)
I rather put the code at the bottom of the page and was wondering if
in PHP you could simulate an HTML::Mason <%init></%init> block.
<http://www.perlmonth.com/perlmonth/issue10/mason.html>
In HTML::Mason, you can embed your code at the bottom of the page
between <%init>code</%init> and when the page is called, the first
thing that is going to be executed its this <%init> block.
Cheers
-Emmanuel
--
______________________________________________________________________
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
Frontier - Perl - PHP - Javascript - XML <http://scriptdigital.com/>
Blog: <http://blog.scriptdigital.com>
More information about the talk
mailing list