| Index
» Projekty
» phpMyEdit
» Fórum
» Dynamically reset filters |
 |
kellymcox
Založený: 28.10.2011
Príspevky: 2
Zaslal: 2011-10-28 17:58
Návrat hore
Odpovedať s citátom
|
Hi, I just started using your product, and it's perfect for what I needed to do. Thank you for putting it out there, and please let me know if there's anything I can do to support or promote it.
I think this question has been asked on the forum before, but for much more complicated situations.
My users need to be able to choose their data as follows: Current members, past members, or "all" (i.e., no filters). They aren't programmers, so I want to give them three buttons on the page for this table. I have the filters, no problem, but how do I get the phpMyEdit class to recognize the change to the filters and show the other data?
I've tried using a $_GET variable and calling the page again, but it doesn't clear out very well. phpMyEdit doesn't automatically refresh the data set when the filter is changed. I tried reverse engineering the filter methods, but got a little bogged down.
Can you help??
Thanks in advance!
|
kellymcox
Založený: 28.10.2011
Príspevky: 2
Zaslal: 2011-10-28 19:15
Návrat hore
Odpovedať s citátom
|
Oh dear, the $_GET code was fine--I had a syntax error in my if statement, so the variable wasn't being set properly.
All better now :-)
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|