Новые книги

GNU Emacs is the most popular and widespread of the Emacs family of editors. It is also the most powerful and flexible. Unlike all other text editors, GNU Emacs is a complete working environment—you can stay within Emacs all day without leaving.

, 3rd Edition tells readers how to get started with the GNU Emacs editor. It is a thorough guide that will also "grow" with you: as you become more proficient, this book will help you learn how to use Emacs more effectively. It takes you from basic Emacs usage (simple text editing) to moderately complicated customization and programming.The third edition of

describes Emacs 21.3 from the ground up, including new user interface features such as an icon-based toolbar and an interactive interface to Emacs customization. A new chapter details how to install and run Emacs on Mac OS X, Windows, and Linux, including tips for using Emacs effectively on those platforms.

, third edition, covers:

Learning GNU Emacs

Learning GNU Emacs

Learning GNU Emacs

• How to edit files with Emacs

• Using the operating system shell through Emacs

• How to use multiple buffers, windows, and frames

• Customizing Emacs interactively and through startup files

• Writing macros to circumvent repetitious tasks

• Emacs as a programming environment for Java, C++, and Perl, among others

• Using Emacs as an integrated development environment (IDE)

• Integrating Emacs with CVS, Subversion and other change control systems for projects with multiple developers

• Writing HTML, XHTML, and XML with Emacs

• The basics of Emacs Lisp

The book is aimed at new Emacs users, whether or not they are programmers. Also useful for readers switching from other Emacs implementations to GNU Emacs.
О том, почему партнерства в бизнесе, как правило, эффективнее и успешнее бизнесов предпринимателей-одиночек. Объединяя свои сильные стороны (деньги, знания, идеи, умения, связи, средства, патенты – все что угодно), партнеры не только способствуют упрочению своего бизнеса, но и расширяют его возможности. Однако все эти преимущества могут быть быстро уничтожены, если правила взаимодействия партнеров не были прописаны «на берегу». Для бизнеса нет ничего страшнее, чем междоусобные войны владельцев. Зачастую они заканчиваются крахом партнерства – вкупе с нарушенными обещаниями, финансовыми катастрофами и кошмарными судебными спорами.

ingres_query

Учебник РНР
Назад Вперёд

ingres_query

(PHP 4 >= 4.0.2)

ingres_query - отправляет SQL-запрос/query в Ingres II.

Описание

bool ingres_query (string query [, resource link])

Предупреждение!

Эта функция - ЭКСПЕРИМЕНТАЛЬНАЯ. Поведение, имя и всё остальное, что задокументировано для данной функции может быть изменено в будущих релизах РНР без предупреждения. Вы можете использовать эту функцию только на свой страх и риск.

Возвращает TRUE при успехе, FALSE при неудаче.

ingres_query() отправляет данный query Ingres-серверу. Этот запрос обязан быть правильным SQL-запросом (см. справочник Ingres SQL).

Этот запрос становится частью текущей открытой транзакции. Если открытой транзакции нет, ingres_query() открывает новую транзакцию. Для закрытия транзакции вы можете вызвать либо ingres_commit() для подтверждения сделанных в БД изменений, либо ingres_rollback() - для отмены (отката) этих изменений. По окончании работы скрипта, любая открытая транзакция откатывается (вызовом ingres_rollback()). Вы можете также использовать ingres_autocommit() перед открытием новой транзакции, чтобы немедленно подтверждать каждый SQL-запрос.

Некоторые типы SQL-запросов не могут быть отправлены этой функцией:

Пример 1. ingres_query()
<?php
ingres_connect ($database, $user, $password);

ingres_query ("select * from table");
while ($row = ingres_fetch_row()) {
    echo $row[1];
    echo $row[2];
}
?>

См. также ingres_fetch_array(), ingres_fetch_object(), ingres_fetch_row(), ingres_commit(), ingres_rollback() и ingres_autocommit().


Назад Оглавление Вперёд
ingres_pconnect Вверхingres_rollback