ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:learn_fields:associative_key_case

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
v5:userguide:learn_fields:associative_key_case [2019/05/08 13:33] – Reduce duplicated info with ADODB_ASSOC_PAGE reference dregadv5:userguide:learn_fields:associative_key_case [2019/05/08 13:36] (current) – [Associative Key Case] dregad
Line 3: Line 3:
 ====== Associative Key Case ====== ====== Associative Key Case ======
  
-If returning data in associative mode, it is important to choose early in the project whether to use upper case or lower case keys. Once that decision has been made, a consistent result can be expected. ADOdb controls the casing of the keys using a constant [[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]]. +If returning data in associative mode, it is important to choose early in the project whether to use upper case or lower case keys. Once that decision has been made, a consistent result can be expected. ADOdb controls the casing of the keys using the ''[[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]]'' constant
  
 The constant must be defined //**before**// the inclusion of the ADOdb libraries The constant must be defined //**before**// the inclusion of the ADOdb libraries
Line 9: Line 9:
 There are 3 possible values: ''ADODB_ASSOC_CASE_LOWER'', ''ADODB_ASSOC_CASE_UPPER'' and ''ADODB_ASSOC_CASE_NATIVE'' (Default). Note that use of native case is not recommended when writing portable applications. There are 3 possible values: ''ADODB_ASSOC_CASE_LOWER'', ''ADODB_ASSOC_CASE_UPPER'' and ''ADODB_ASSOC_CASE_NATIVE'' (Default). Note that use of native case is not recommended when writing portable applications.
  
-See [[v5:reference:adodb_assoc_case#usage|ADODB_ASSOC_CASE reference]] for further information and usage examples.+See ''[[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]]'' in the reference manual for further information and usage examples.
  
v5/userguide/learn_fields/associative_key_case.txt · Last modified: 2019/05/08 13:36 by dregad