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
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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.