This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
TurtleIsland
I'm having problem displaying Repeater as an array so i can display all the data on the page.. I tried this code but it is giving me error:
<?php
function onStart()
{
$testt = Db::table('tablename')->get();
foreach ($testt as $testing) {
$someJSON = $testing->dishes;
echo "
".$testing->title."
";
$someArray = json_decode($someJSON, true);
print_r($someArray);
}
?>
Last updated
1-1 of 1