ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:getmenu2

getMenu2

This method is deprecated and will be removed in a later release. Use getMenu() with $compareFirstCol = false instead.

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/11/24 00:12 by dregad