mirror of
https://github.com/php/doc-ru.git
synced 2025-08-20 16:51:35 +00:00
Updated translation
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@335773 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 5d818a7f07842b7fdf51f9a896e7d7cba95848f2 Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<!-- $Revision$ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
|
||||
@ -81,13 +81,16 @@
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$pgsql_conn = pg_connect("dbname=mark host=localhost");
|
||||
// Подключение к базе данных
|
||||
pg_connect("dbname=mark host=localhost");
|
||||
|
||||
$res1 = pg_query("CREATE TABLE test (a INTEGER) WITH OIDS");
|
||||
// Создание тестовой таблицы
|
||||
pg_query("CREATE TABLE test (a INTEGER) WITH OIDS");
|
||||
|
||||
$res2 = pg_query("INSERT INTO test VALUES (1)");
|
||||
|
||||
$oid = pg_last_oid($res2);
|
||||
// Вставка данных в таблицу
|
||||
$res = pg_query("INSERT INTO test VALUES (1)");
|
||||
|
||||
$oid = pg_last_oid($res);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
Reference in New Issue
Block a user