Working with Array['keys']

2 posts by 2 authors in: Forums > CMS Builder
Last Post: June 21, 2012   (RSS)

Re: [Perchpole] Working with Array['keys']

By Jason - June 21, 2012

Hi,

You pretty much have it.

try this:

<?php $recordCount = 0; ?>
<?php foreach ($otherInfo as $info): ?>

<?php echo $info['title'] ?>
<?php echo $info['body'] ?>
<?php echo $record["text".++$recordCount];

<?php end foreach ?>


Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/