In your __construct
seem you don’t call the proper function sequence for format (htlm) the row.
I think you should change you __construct someway for call beginChildren, current, endChildern properly
function __construct($it) {
beginChildren();
parent::__construct($it, self::LEAVES_ONLY);
current();
endChildren();
}
solved show sql results in php with tables [closed]