Page 1 of 1

filtering results

Posted: Sun Oct 31, 2010 6:00 pm
by peterhall
Hi guys.

Hi have this table, with the sum of the results in a web page. in each result, I have a link to the detail table by the header, 'site', 'cell', etc..
now, what I want, is when i click in one result, where the filter is the date and the header (eg: site), opens the page only with the results from that date and that header.

this is the sum table:

Image

and, if I click 'site', '59', day 13-08-2010, appears:
(this is part of the result)
Image

how can I nake this filter between tables?

tks...

Re: filtering results

Posted: Mon Nov 01, 2010 4:11 am
by klevis miho
In the second table should be an id or site column.
So in the first table you should put get variables in the link "59" (id and date).
When you click on the link, check if the get variables are present then do a query on the second table,
where the date is = the date in the first table and the id = the id of "59".