git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63548 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2001-11-30 22:35:12 +00:00
parent fa7dede319
commit e5ad2170ee
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.130 $ -->
<!-- $Revision: 1.131 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@ -2861,7 +2861,7 @@ d = lemon
<?php
$result = mysql_query ($conn, "SELECT id, name, salary FROM employees");
$result = mysql_query ("SELECT id, name, salary FROM employees",$conn);
while (list ($id, $name, $salary) = mysql_fetch_row ($result)) {
print (" <tr>\n".
" <td><a href=\"info.php3?id=$id\">$name</a></td>\n".

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@ -149,7 +149,7 @@ if ($expression) {
]]>
</programlisting>
</example>
This works as expected, because when PHP hits the &gt; closing
This works as expected, because when PHP hits the ?&gt; closing
tags, it simply starts outputting whatever it finds until it hits
another opening tag. The example given here is contrived, of
course, but for outputting large blocks of text, dropping out of