Welcome Guest, Not a member yet? Register   Sign In
Entity class - loop 20 rows and iterate through columns in view
#2

(This post was last modified: 08-27-2021, 11:53 AM by ikesela.)

I try it and got answer :

foreach ($tRows as $tKey):
echo "<tr>";
$tnewKey = $tKey->jsonSerialize();
foreach ($tnewKey as $key => $value){
echo "<td>";
echo $value;
echo "</td>";
}

echo "</tr>";
endforeach;
Reply


Messages In This Thread
RE: Entity class - loop 20 rows and iterate through columns in view - by ikesela - 08-27-2021, 11:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB