Detail Page- Code for Second Record

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

Re: [sidcam] Detail Page- Code for Second Record

By Dave - July 17, 2008

Hi sidcam,

Do you want to use the same page (yourPage.php) display a different record or do you want to create a second page that displays the other record?

If it's the same page you can just put the record number in the url like this: yourPage.php?123

If it's a different page (otherPage.php) you could hard code it to look up the record by number or field value like this:

'where' => 'num = 123',

or:

'where' => 'title = "Test"',

Hope that helps. If you're still not sure then let me know some more details about the section your trying to create or what you're trying to do and I'll be happy to give you some suggestions.
Dave Edis - Senior Developer
interactivetools.com