Skip to content

Instantly share code, notes, and snippets.

@scuba323
Created November 9, 2018 04:16
Show Gist options
  • Save scuba323/c292c8f5f70598fa801219d977836729 to your computer and use it in GitHub Desktop.
Save scuba323/c292c8f5f70598fa801219d977836729 to your computer and use it in GitHub Desktop.
if (count($data->stand)) {
// Open the table
echo "<table>";
// Cycle through the array
foreach ($data->stand as $idx => $stand) {
// Output a row
echo "<tr>";
echo "<td>$stand->afko</td>";
echo "<td>$stand->positie</td>";
echo "</tr>";
}
// Close the table
echo "</table>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment