Field displaying on new page

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 26, 2013   (RSS)

By gregThomas - July 26, 2013

Hi Hannah, 

This should be fairly easy to do. On your first detail page, you could create a link to your cast list page like this:

<a href="cast.php?<?php echo urlencode($record['title']).$record['num']; ?>" >Cast Detail Page</a>

This is just example code, so you'll have to make a few changes to get it working with your site.

In this example I'm assuming that your detail page records are stored in an array called $record, and that you have a title field.

Then on your cast.php page you would use the normal getRecords function that you would use on a detail page to retrieve all of the records, including the cast list.

Let me know if you have any questions.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com