Page 1 of 1

Fatal error: Call to undefined function mysql_field_type()

Posted: Wed Oct 11, 2006 5:44 am
by mcccy005
OK, so I get the above error in the following code:

Code: Select all

$mysql_data_type = mysql_field_type($result, $j);
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

Posted: Wed Oct 11, 2006 5:51 am
by volka
mcccy005 wrote:However; I can't find an equivalent mysqli function to find the field type of a particular piece result.
see http://de2.php.net/manual/en/function.m ... -field.php