till remain the second problem. this is the code:
// Set the users to be sortable by name or email, defaulting to name
fCore::expose(array_keys($column_info));
$sort = fCRUD::getSortColumn(array_keys($column_info));
fCore::expose($sort);
and print:
Array
(
[0] => email
)
categorie
Uncaught fProgrammerException
-----------------------------
{doc_root}\\cd\\admin\\index1.php(7): FormGenerator->__construct(Object(fDatabase))
{doc_root}\\cd\\inc\\classes\\FormGenerator.php(238): Newsletter::getAll('categorie', 'desc', NULL, 2)
{doc_root}\\cd\\inc\\classes\\FormGenerator.php(68) : eval()'d code(38): fRecordSet::build('Newsletter', Array, Array, 2, NULL)
{doc_root}\\cd\\inc\\flourish\\fRecordSet.php(225): fORMDatabase::addOrderByClause(Object(fDatabase), Object(fSchema), Array, 'newsletter', Array)
{doc_root}\\cd\\inc\\flourish\\fORMDatabase.php(403): fSchema->getColumnInfo('newsletter', 'categorie', 'type')
{doc_root}\\cd\\inc\\flourish\\fSchema.php(2207)
The column specified, categorie, does not exist in the table newsletter