URL parameter filters with where clauses

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 27, 2012   (RSS)

By InHouse - August 23, 2012

Hi,

Until recently I had a page which showed all the records for a given table. It also displayed a set of links which reloaded the same page but with parameters appented to the URL. i.e.:

mypage.php?type=blue

Then these links were fired the page would reload and display only the records where the type was 'blue'.

But now I have to put a where clause on the page at all times. It's working to limit the display of the original records but it also seems to stop the in-url filtering from working.

Any ideas of why that is, and how I can work around it?

Cheers,
J.

Re: [Jason] URL parameter filters with where clauses

By InHouse - August 27, 2012

Many thanks Jason. That would seem to explain the change in behaviour. The solution you offer will work nicely I'm sure.

J.