Closed elieobeid7 closed 6 years ago
You can get the full scheme of the database (all tables and columns) with the getScheme()
method:
$scheme = $db->getScheme();
$fieldsNames = array_keys($scheme['tablename']['fields']);
'Warning: array_keys() expects parameter 1 to be array, null given'
anyway ill close this issue, coz its not that important, i ended up writing the column names by hand in array. I dont want to waste your time on this one
Is it possible to select column names from a table, something like