Hi Toledoh,
With Option 1 you use a colon. The equivalent PHP to this is
<?php foreach ($panelsRecords as $record){ ?>
<?php include("_panelContent.php") ?>
<?php } ?>
For Option 2, you're using a semi-colon which terminates the loop right away. The equivalent to this is:
<?php foreach ($panelsRecords as $record){ } include("_panelContent.php"); ?>
Carl
PHP Programmer
interactivetools.com