Filter by Category

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 24, 2009   (RSS)

Re: [Roj] Filter by Category

By Chris - October 23, 2009

Hi Roger,

Assuming that your field is called "category", you can search your records like this:

exampleList.php?category=123

On your category list page, you can generate links with the correct "num" like this:

<a href="exampleList.php?category=<?php echo $record['num'] ?>">View records in this category</a>

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Filter by Category

By Roj - October 24, 2009

Thanks Chris, exactly what I wanted

Roger
Roj