ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:getmenu2

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.txt · Last modified: 2019/01/01 23:26 by mnewnham