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
v5:reference:recordset:fieldtypesarray [2021/05/05 03:20] mnewnhamv5:reference:recordset:fieldtypesarray [2021/05/05 03:31] (current) 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:fieldCount|fieldCount()]]\\
 == 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.1620177602.txt.gz · Last modified: 2021/05/05 03:20 by mnewnham