Typo fixes in examples and in some explanatory texts

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75781 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2002-03-29 14:47:32 +00:00
parent ae3f6af082
commit e47fad0890

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.43 $ -->
<!-- $Revision: 1.44 $ -->
<reference id="ref.oci8">
<title>Oracle 8 functions</title>
<titleabbrev>OCI8</titleabbrev>
@ -172,16 +172,16 @@ $sth = OCIParse ( $dbh, "begin sp_newaddress( :address_id, '$firstname',
<methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
<function>OCIDefineByName</function> uses fetches SQL-Columns
into user-defined PHP-Variables. Be careful that Oracle user
ALL-UPPERCASE column-names, whereby in your select you can also
write lower-case. <function>OCIDefineByName</function> expects
<function>OCIDefineByName</function> binds PHP variables for fetches
of SQL-Columns. Be careful that Oracle uses ALL-UPPERCASE column-names,
whereby in your select you can also write lowercase.
<function>OCIDefineByName</function> expects
the <parameter>Column-Name</parameter> to be in uppercase. If you
define a variable that doesn't exists in you select statement, no
error will be given!
</para>
<para>
If you need to define an abstract Datatype (LOB/ROWID/BFILE) you
If you need to define an abstract datatype (LOB/ROWID/BFILE) you
need to allocate it first using
<function>OCINewDescriptor</function> function. See also the
<function>OCIBindByName</function> function.
@ -191,7 +191,7 @@ $sth = OCIParse ( $dbh, "begin sp_newaddress( :address_id, '$firstname',
<programlisting>
<![CDATA[
<?php
/* OCIDefineByPos example thies@thieso.net (980219) */
/* OCIDefineByName example - thies@thieso.net (980219) */
$conn = OCILogon("scott","tiger");
@ -454,8 +454,8 @@ print "</PRE></HTML>";
<refentry id="function.ociplogon">
<refnamediv>
<refname>OCIPLogon</refname>
<refpurpose>Connect to an Oracle database and log on using a
persistent connection. Returns a new session.</refpurpose>
<refpurpose>Connect to an Oracle database using a
persistent connection</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -484,8 +484,7 @@ print "</PRE></HTML>";
<refentry id="function.ocinlogon">
<refnamediv>
<refname>OCINLogon</refname>
<refpurpose>Connect to an Oracle database and log on using a new
connection. Returns a new session.</refpurpose>
<refpurpose>Establishes a new connection to Oracle</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>