PHP Syntax
The first step is to escape from HTML and into "PHP code mode". There are 4 ways to do this:
<? echo ("An SGML processing instruction\n"); ?>
(only available if short tags have been enabled )
<?php echo("version for serving XML documents\n"); ?>(only available if ASP-style tags have been enabled)
- <script language="php">
echo ("version for editors (like FrontPage) that don't like processing instructions"); </script>
- <% echo ("ASP-style tags. Support for these was added in 3.0.4."); %>
<%= $variable; # This is a shortcut for "<%echo .." %>- <script language="php">
If there is a newline immediately trailing the closing "bracket" for the block, it will be included.
