Новые книги

Майкл Стелзнер — признанный эксперт в области социальных медиа, создатель одного из самых популярных блогов о маркетинге в социальных сетях SocialMediaExaminer.com (более 150 000 подписчиков).

В книге Стелзнер рассказывает о разных видах контента, которые вы можете публиковать на своем сайте, в блоге, на странице в социальной сети и которые помогут вам привлечь внимание потенциальных клиентов.

Автор объясняет, как спланировать работу по подготовке контента, как задействовать в его создании известных экспертов и как использовать социальные медиа для его продвижения. Он также дает ценные советы по работе с текстами, видеосюжетами, по организации мероприятий и обращает внимание на тонкости, которые повысят привлекательность вашего контента для пользователей.

Эта книга — полезное руководство для тех, кто хочет освоить инструменты контент-маркетинга и с его помощью завоевать расположение интернет-аудитории.
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.

fbsql_fetch_field

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

fbsql_fetch_field

(PHP 4 >= 4.0.6)

fbsql_fetch_field - получает информацию столбца из результата и возвращает её как объект.

Описание

object fbsql_fetch_field (resource result [, int field_offset])

Возвращает объект, содержащий информацию поля.

fbsql_fetch_field() может использоваться для получения информации о полях в определённом результате выполнения запроса. Если смещение поля не специфицировано, запрашивается следующее поле, которое ещё не было запрошено функцией fbsql_fetch_field().

Свойства объекта:

  • name - имя столбца

  • table - имя таблицы, которой принадлежит столбец

  • max_length - максимальный размер столбца

  • not_null - 1, если столбец не может быть NULL

  • type - тип столбца

Пример 1. fbsql_fetch_field()
<?php 
fbsql_connect ($host, $user, $password)
    or die ("Could not connect");
$result = fbsql_db_query ("database", "select * from table")
    or die ("Query failed");
# получить метаданные столбца
$i = 0;
while ($i < fbsql_num_fields ($result)) {
    echo "Information for column $i:<BR>\n";
    $meta = fbsql_fetch_field ($result);
    if (!$meta) {
        echo "No information available<BR>\n";
    }
    echo "<PRE>
max_length:   $meta->max_length
name:         $meta->name
not_null:     $meta->not_null
table:        $meta->table
type:         $meta->type
</PRE>";
    $i++;
}
fbsql_free_result ($result);
?>

См. также fbsql_field_seek().


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