cvs: phpdoc /ja/reference/pgsql/functions pg-affected-rows.xml
| From: | Rui Hirokawa | Date: | Sun, 21 Apr 2002 00:49:56 +0000 |
| Subject: | cvs: phpdoc /ja/reference/pgsql/functions pg-affected-rows.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344654@lists.php.net to get a copy of this message | ||
hirokawa Sat Apr 20 20:49:56 2002 EDT
Added files:
/phpdoc/ja/reference/pgsql/functions pg-affected-rows.xml
Log:
added pg-affected-rows.xml in japanese manual.
Index: phpdoc/ja/reference/pgsql/functions/pg-affected-rows.xml
+++ phpdoc/ja/reference/pgsql/functions/pg-affected-rows.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id="function.pg-affected-rows">
<refnamediv>
<refname>pg_affected_rows</refname>
<refpurpose>夿´ãããã¬ã³ã¼ã(ã¿ãã«)ã®æ°ãè¿ã</refpurpose>
</refnamediv>
<refsect1>
<title>説æ</title>
<methodsynopsis>
<type>int</type><methodname>pg_affected_rows</methodname>
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_affected_rows</function> ã¯ã
<function>pg_query</function>ãå®è¡ããéã«INSERT,
UPDATE, DELETE
ã¯ã¨ãªã«ãã夿´ãããã¿ãã«(ã¤ã³ã¹ã¿ã³ã¹/ã¬ã³ã¼ã/è¡)ã®æ°ãè¿ã
ã¾ãããã®é¢æ°ã«ãã夿´ãããã¿ãã«ããªãå ´åã0ãè¿ããã¾ãã
<example>
<title><function>pg_affected_rows</function></title>
<programlisting role="php">
<![CDATA[
<?php
$result = pg_query ($conn, "INSERT INTO publisher VALUES ('Author')");
$cmdtuples = pg_affected_rows ($result);
echo $cmdtuples . "
ã¿ãã«ã夿´ããã¾ããã";
?>
]]>
</programlisting>
</example>
</para>
<note>
<para>
ãã®é¢æ°ã¯ã<literal>pg_cmdtuples()</literal>ã¨å¼ã°ãã¦ãã¾ããã
</para>
</note>
<para>
<function>pg_query</function>ããã³
<function>pg_num_rows</function>ãåç
§ä¸ããã
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->