|
Posted by NC on 11/26/07 20:01
On Nov 26, 8:04 am, Obiku <obie...@xs4all.com> wrote:
>
> If you put your php script between <script> tags,
> it can be in you html
It can BE there. But it'll be useless, since it won't be executed.
The server will just spit it out as-is...
<script language="php"> ... </script> is functionally identical to <?
php ... ?>. Regardless of which tag you use, PHP code is executed
server-side, and by default the PHP interpreter is only invoked when a
*.php file is parsed.
Cheers,
NC
Navigation:
[Reply to this message]
|