getting info from a single record to display in a certain place

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 28, 2015   (RSS)

By claire - January 28, 2015

Hi Jeff - sure, it's very easy to do if you sort the records array by num first. Run the records through a foreach loop and copy them to a new array, setting the index to be the num of the record.

Then, wherever you want to put each record, use something like this: <?php echo $sortedRecords[1]['title']; ?>

--------------------

Claire Ryan
interactivetools.com

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