cvs: peardoc /en/package/database/mdb intro-execute.xml
| From: | Dennis Sterzenbach | Date: | Tue, 28 Oct 2003 00:33:13 +0000 |
| Subject: | cvs: peardoc /en/package/database/mdb intro-execute.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1784@lists.php.net to get a copy of this message | ||
darknoise Mon Oct 27 19:33:13 2003 EDT
Modified files:
/peardoc/en/package/database/mdb intro-execute.xml
Log:
fixed some typos
Index: peardoc/en/package/database/mdb/intro-execute.xml
diff -u peardoc/en/package/database/mdb/intro-execute.xml:1.2
peardoc/en/package/database/mdb/intro-execute.xml:1.3
--- peardoc/en/package/database/mdb/intro-execute.xml:1.2 Wed Sep 3 11:05:11 2003
+++ peardoc/en/package/database/mdb/intro-execute.xml Mon Oct 27 19:33:13 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.database.mdb.intro-executeQuery">
<refnamediv>
<refname>Introduction - Execute</refname>
@@ -28,7 +28,7 @@
db1 : INSERT INTO tbl_name ( col1, col2 ... ) VALUES ( expr1, expr2 ... )
db2 : INSERT INTO tbl_name SET col1=expr1, col2=expr2 ...
]]></programlisting>
- Correspondending to create multi-lingual scripts you can create
+ Corresponding to create multi-lingual scripts you can create
a array with queries like this:
<programlisting role="php"><![CDATA[
$statement['db1']['INSERT_PERSON'] = "INSERT INTO person ( surname, name,
age ) VALUES ( ?, ?, ? )" ;
@@ -40,17 +40,17 @@
<title>Prepare</title>
<para>
To use the features above, you have to do two steps. Step one is to
- <emphasis>prepareQuery</emphasis> the statment and the second is
+ <emphasis>prepareQuery</emphasis> the statement and the second is
to <emphasis>executeQuery</emphasis> it.
</para>
<para>
<link linkend="package.database.mdb.mdb-common.prepareQuery">
<function>Prepare</function>
</link> has to be called with the generic
- statment at least once. It returns a handle for the statment.
+ statement at least once. It returns a handle for the statement.
</para>
<para>
- To create a generic statment is simple. Write the SQL query
+ To create a generic statement is simple. Write the SQL query
as usual, i.e.
<programlisting><![CDATA[
SELECT surname, name, age FROM person
@@ -83,7 +83,7 @@
</member>
<member>
<parameter>&</parameter> - requires an existing filename,
- the content of this file will be included into the statment
+ the content of this file will be included into the statement
(i.e. for saving binary data of a graphic file in a database)
</member>
</simplelist>