|
MysqlndUhConnection::getFieldCount(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getFieldCount — Returns the number of columns for the most recent query Описание
public int MysqlndUhConnection::getFieldCount
( mysqlnd_connection $connection
)
Returns the number of columns for the most recent query. Список параметров
Возвращаемые значенияNumber of columns. ПримерыMysqlndUhConnection::getFieldCount() is not only executed after the invocation of a user space API call which maps directly to it but also called internally.
Пример #1 MysqlndUhConnection::getFieldCount() example
<?php Результат выполнения данного примера: proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 0 int(0) proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 3 proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 3 int(3) Смотрите также
|
|