cvs: phpdoc /ja/reference/pgsql/functions pg-query.xml pg-update.xml
| From: | Rui Hirokawa | Date: | Sun, 21 Apr 2002 00:45:19 +0000 |
| Subject: | cvs: phpdoc /ja/reference/pgsql/functions pg-query.xml pg-update.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344653@lists.php.net to get a copy of this message | ||
hirokawa Sat Apr 20 20:45:19 2002 EDT
Added files:
/phpdoc/ja/reference/pgsql/functions pg-update.xml
Modified files:
/phpdoc/ja/reference/pgsql/functions pg-query.xml
Log:
added pg-update.xml in japanese manual.
Index: phpdoc/ja/reference/pgsql/functions/pg-query.xml
diff -u phpdoc/ja/reference/pgsql/functions/pg-query.xml:1.1
phpdoc/ja/reference/pgsql/functions/pg-query.xml:1.2
--- phpdoc/ja/reference/pgsql/functions/pg-query.xml:1.1 Sat Apr 20 19:56:33 2002
+++ phpdoc/ja/reference/pgsql/functions/pg-query.xml Sat Apr 20 20:45:19 2002
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id="function.pg-query">
<refnamediv>
Index: phpdoc/ja/reference/pgsql/functions/pg-update.xml
+++ phpdoc/ja/reference/pgsql/functions/pg-update.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -->
<refentry id='function.pg-update'>
<refnamediv>
<refname>pg_update</refname>
<refpurpose>
ãã¼ãã«ãæ´æ°ãã
</refpurpose>
</refnamediv>
<refsect1>
<title>説æ</title>
<methodsynopsis>
<type>long</type><methodname>pg_update</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>table_name</parameter></methodparam>
<methodparam><type>array</type><parameter>condition</parameter></methodparam>
<methodparam><type>array</type><parameter>data</parameter></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>convert</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_update</function>ã¯ã<literal>data</literal>ã«é¢ãã¦
<literal>condition</literal>ã«ãããããã¬ã³ã¼ããæ´æ°ãã¾ãã
<literal>convert</literal>ãæå®ããã¦ããªãã&true;ã®å ´åã
<function>pg_convert</function>ã<literal>assoc_array</literal>ã«é©
ç¨ããã¾ãã
</para>
<example>
<title>pg_update</title>
<programlisting role="php">
<![CDATA[
<?php
$db = pg_connect ('dbname=foo');
$data = array('field1'=>'AA', 'field2'=>'BB');
//
$_POSTã¯èªåçã«å¤æããããããããã¯å¤§ä¸å¤«ã§ãã
$res = pg_update($db, 'post_log', $_POST, $data);
if ($res) {
echo "ãã¼ã¿ãæ´æ°ããã¾ãã: $res\n";
}
else {
echo
"ã¦ã¼ã¶ã誤ã£ãå
¥åãéä¿¡ãã¾ããã\n";
}
?>
]]>
</programlisting>
</example>
<note>
<para>
ãã®é¢æ°ã¯å®é¨çãªé¢æ°ã§ãã
</para>
</note>
<para>
<function>pg_convert</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
-->