ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:getmenu2

This is an old revision of the document!


getMenu2

This method requires that ADODB_FETCH_MODE be set to ADODB_FETCH_NUM prior to execution of the SQL statement that will provide the recordset.

This method is deprecated and will be removed in a later release

See Also

getMenu()
getMenu3()

Syntax
string getMenu2(
    optional string $selectName='',
    optional mixed $defaultValue=false,
    optional bool $blankFirstItem=true,
    optional bool $multiple=fale,
    optional int $numberOfRows=0,
    optional string $optionalAttributes='',
    )

Description

The function getMenu2() is a shortcut to getMenu() , forcing the method to use the description (1st column) as the matching field for the selected item

v5/reference/recordset/getmenu2.1546381588.txt.gz · Last modified: 2019/01/01 23:26 by mnewnham