cvs: peardoc /ja/package/database/db intro-execute.xml
| From: | Daniel Convissor | Date: | Sun, 22 Feb 2004 05:46:06 +0000 |
| Subject: | cvs: peardoc /ja/package/database/db intro-execute.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2676@lists.php.net to get a copy of this message | ||
danielc Sun Feb 22 00:46:06 2004 EDT
Modified files:
/peardoc/ja/package/database/db intro-execute.xml
Log:
Add } and some whitespace.
http://cvs.php.net/diff.php/peardoc/ja/package/database/db/intro-execute.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/ja/package/database/db/intro-execute.xml
diff -u peardoc/ja/package/database/db/intro-execute.xml:1.2
peardoc/ja/package/database/db/intro-execute.xml:1.3
--- peardoc/ja/package/database/db/intro-execute.xml:1.2 Tue Feb 3 10:09:30 2004
+++ peardoc/ja/package/database/db/intro-execute.xml Sun Feb 22 00:46:06 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- Sync: 1.11 -->
<refentry id="package.database.db.intro-execute">
<refnamediv>
@@ -62,8 +62,8 @@
<programlisting>
<![CDATA[
SELECT surname, name, age
- FROM person
- WHERE name = 'name_to_find' AND age < 'age_limit'
+ FROM person
+ WHERE name = 'name_to_find' AND age < 'age_limit'
]]>
</programlisting>
次ã«ã¹ã¯ãªããå®è¡æã«ç½®æããããã©ã¡ã¼ã¿ã確èªãã¾ãã
@@ -71,8 +71,8 @@
<programlisting>
<![CDATA[
SELECT surname, name, age
- FROM person
- WHERE name = ? AND age < ?
+ FROM person
+ WHERE name = ? AND age < ?
]]>
</programlisting>
ãã¦ãããã§å®äºã§ã!<link
@@ -130,7 +130,8 @@
$sth = $db->prepare('INSERT INTO numbers VALUES (?, ?, ?)');
foreach ($alldata as $row) {
$db->execute($sth, $row);
-]]>
+}
+ ]]>
</programlisting>
</example>
ãã®ä¾ã§ã¯ã以ä¸ã®ããã«ã¯ã¨ãªã4åå®è¡ããã¾ãã
@@ -161,7 +162,7 @@
array(4, 'four', 'fire'));
$sth = $db->prepare('INSERT INTO numbers VALUES (?, ?, ?)');
$db->executeMultiple($sth, $alldata);
-]]>
+ ]]>
</programlisting>
</example>
çµæã¯åãã§ãã