push result from mysql query in read_data

webcrea 06 Nov, 2020
Hello,
I try to push a result from a query in php/mysql in Database->read_data

Something like this

$this->set('read_enrollments.enrollments', $obj);

I don't wich format to use :
$db->loadRowList();
$db->loadObjectList()
... Etc
Thanks for your reply
Chris
You need to login to be able to post a reply.