Fatal error: Call to undefined function mysql_field_type()
Posted: Wed Oct 11, 2006 5:44 am
OK, so I get the above error in the following code:
I've constantly had problems with using mysql functions but mysqli functions seem to work ok.
However; I can't find an equivalent mysqli function to find the field type of a particular piece result. (I have retrieved the results in the form of an array using fetch_row( ) and want to find out what data type is in each key of the array.)
THanks
Code: Select all
$mysql_data_type = mysql_field_type($result, $j);However; I can't find an equivalent mysqli function to find the field type of a particular piece result. (I have retrieved the results in the form of an array using fetch_row( ) and want to find out what data type is in each key of the array.)
THanks