ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:fieldtypesarray

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:fieldtypesarray [2016/02/01 21:46] – [Description] mnewnhamv5:reference:recordset:fieldtypesarray [2021/05/05 03:17] mnewnham
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 <WRAP right box> <WRAP right box>
 +== See Also ==
 +[[v5:reference:recordset:fetchField]]\\
 +
 == Syntax == == Syntax ==
   array fieldTypesArray()   array fieldTypesArray()
Line 7: Line 10:
  
 ===== Description ===== ===== Description =====
-The method returns an array of [[v5:dictionary:ADOfieldObject|ADOFieldObjects]] representing all of the objects returned in a result set. It is the equivalent of looping from 1 to [[v5:reference:fieldCount]]+The method returns an array of [[v5:dictionary:ADOfieldObject|ADOFieldObjects]] representing all of the objects returned in a result set. It is the equivalent of looping from 1 to [[v5:reference:recordset:fieldCount]] , calling the [[v5:reference:recordset:fetchField]] method. The method returns **false** if a recordset is not available for any reason 
 +------------------------------------- 
 +===== Example ===== 
 +<code php> 
 + 
 +$sql = "SELECT * FROM employees"; 
 + 
 +$result = $db->execute($sql) 
 + 
 +print_r($results->fieldTypesArray()); 
 + 
 +</code>
v5/reference/recordset/fieldtypesarray.txt · Last modified: 2021/05/05 03:31 by mnewnham