ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:getmenu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
v5:reference:recordset:getmenu [2019/01/01 23:40] – [$blankFirstLine] mnewnhamv5:reference:recordset:getmenu [2019/05/07 16:08] – [Description] dregad
Line 22: Line 22:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The function ''getMenu()'' Generate an HTML SELECT tag string from a recordset, and return the string.  + 
-If the returned recordset has a single column, the option values and descriptions are the same. +The function ''getMenu()'' generates an HTML SELECT tag string from a recordset, and returns the string. 
-If the returned recordset has 2 cols, the 1st column is the description and the 2nd column is the value. By default, the 2nd column is matched against the defaut, if provided. + 
 +If the recordset has a single column, the option values and descriptions are the same. 
 +If it has 2 columns, the first one is the description and the second is the value. By default, the 2nd column is matched against the defaut, if provided.  
 + 
 +Any extra column beyond the first two will be discarded.
 ===== Parameters ===== ===== Parameters =====
 ==== $selectName ===== ==== $selectName =====
v5/reference/recordset/getmenu.txt · Last modified: 2019/11/24 00:16 by dregad