The default delimiter syntax opens with <?php and concludes with ?>, like this:
<h3>Welcome!</h3>
<?php
print "<p>This is a PHP example.</p>";
?>
<p>Some static information found here...</p>
If you save this code as test.php and call it from a PHP-enabled Web server, output such
as that shown in Figure 3-1 follows.
Welcome!
This is a PHP example
No comments:
Post a Comment