i malke more, bu i can't return array by max id in table. This query is work, i need load to form. return array return first 'id' but me need and 'id'. Help plz!!!
How i can load this query to form by return array
TNX
How i can load this query to form by return array
$db->setQuery("SELECT fio1 FROM #__datatable_naryd_otd_ipm ORDER BY id DESC LIMIT 1");
return array('id'=>$form->data('id'));
TNX