jeece76 Posted January 30, 2016 Share Posted January 30, 2016 Hi everyone, i'm trying to show database on a custom block in html but i can't do this. {{$livres_db = \IPS\Db::i()->select( '*', 'cms_custom_database_4', '', 'field_11 DESC' );}} {{$livres = array();}} {{foreach $livres as $id => $livre}} {{$idField = $livre::$databaseColumnId;}} {{$livresIds[] = $livre->$idField;}} {{endforeach}} I don't know if I'm on the good way to success. If anybody can help me ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.