Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.9Kb
HTML Download (Zip) - 258.4Kb


MySQL PHP API  /  ...  /  SqlStatementResult::getColumnsCount

5.29.5 SqlStatementResult::getColumnsCount

Copyright 1997-2019 the PHP Documentation Group.

  • SqlStatementResult::getColumnsCount

    Get column count

Description

public integer mysql_xdevapi\SqlStatementResult::getColumnsCount();

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

The number of columns; 0 if there are none.

Changelog

VersionDescription
8.0.14Method renamed from getColumnCount() to getColumnsCount().

Examples

Example 5.138 mysql_xdevapi\SqlStatementResult::getColumnsCount example

<?php

/* ... */

?>