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:
everything works like expected but I want to show the section names from where they came from...
thanks!
$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: [videopixel] Retrieving section title or table name?
By Collin - December 3, 2011
If you used a call like:
metaData will contain lots of information about the records.
Also:
will give you a lot of information about the records.
list(records, metaData) = getRecords(options)
metaData will contain lots of information about the records.
Also:
showme(records)
will give you a lot of information about the records.
Re: [Collin] Retrieving section title or table name?
ok, I need this
How do i insert this between the brackets?
[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
Thanks Collin for putting me on the right track!
needed to be
[_tableName]
Thanks Collin for putting me on the right track!