Retrieving section title or table name?

4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 3, 2011   (RSS)

By videopixel - December 2, 2011 - edited: December 2, 2011

I'm merging 3 sections with this code:

$mosaicRecords = array_merge($blogRecords,$portfolioRecords,$downloadsRecords);
shuffle($mosaicRecords);


everything works like expected but I want to show the section names from where they came from...

<?php foreach ($mosaicRecords as $record): ?>
<?php foreach ($record['mosaic'] as $upload): ?>

What goes between the brackets? <?php echo $record['??????'] ?>

<?php endforeach ?>
<?php endforeach ?>



thanks!

Re: [Collin] Retrieving section title or table name?

ok, I need this [tableName]
How do i insert this between the brackets?
does not work?
<?php echo $record['tableName'] ?>

Re: [videopixel] Retrieving section title or table name?

Found it already ;-)

needed to be [_tableName]

Thanks Collin for putting me on the right track!