A typo and a formatting fix.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63314 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2001-11-27 10:17:08 +00:00
parent 15cf6121d3
commit 905916889a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.21 $ -->
<!-- $Revision: 1.22 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@ -92,7 +92,7 @@
</script>
4. <% echo ("You may optionally use ASP-style tags"); %>
<%= $variable; # This is a shortcut for "&lt;%echo .." %>
<%= $variable; # This is a shortcut for "<% echo . . ." %>
]]>
</programlisting>
</example>
@ -136,16 +136,15 @@
<programlisting role="php">
<![CDATA[
<?php
if (boolean-expression) {
if ($expression) {
?>
<strong>This is true.</strong>
<?php
} else {
<strong>This is true.</strong>
<?php
} else {
?>
<strong>This is false.</strong>
<?php
<strong>This is false.</strong>
<?php
}
?>
]]>
</programlisting>
</example>