Category Archives: How to’s

How to get a list of a tables field / column names from MySQL using PHP – getFieldNames() Function

A simple function to replicate the funcationality of the depreciated mysql_list_fields() function. It returns a simple array with a numeric index of the column / field names. $database – String – The database you want to use $connect_string – String – Your connection string $table – String – The...
Page 3 of 3123