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
Last revisionBoth sides next revision
v5:reference:recordset:fieldtypesarray [2021/05/05 03:20] mnewnhamv5:reference:recordset:fieldtypesarray [2021/05/05 03:31] mnewnham
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[v5:reference:recordset:fetchField]]\\ +[[v5:reference:recordset:fetchField|fetchField()]]\\ 
 +[[v5:reference:recordset:recordCount|recordCount()]]\\
 == Syntax == == Syntax ==
-  array fieldTypesArray()+  mixed fieldTypesArray()
 </WRAP> </WRAP>
  
Line 16: Line 16:
 <code php> <code php>
  
-$sql = "SELECT * FROM employees";+$sql = "SELECT * FROM dept_emp";
  
 $result = $db->execute($sql) $result = $db->execute($sql)
  
-print_r($results->fieldTypesArray());+print_r($resul->fieldTypesArray()); 
 /* /*
 * Returns * Returns
Line 90: Line 91:
             [unsigned] => 0             [unsigned] => 0
         )         )
-......+......etc.
 */ */
 </code> </code>
v5/reference/recordset/fieldtypesarray.txt · Last modified: 2021/05/05 03:31 by mnewnham