Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Form Filtering

phpMyEdit Configuration     Form Filtering
Odoslať novú tému   Odpovedať na tému    
 
xice     Založený: 19.04.2007   Príspevky: 3  
Príspevok Zaslal: 2007-04-19 14:18
Návrat hore  Odpovedať s citátom     

Hi Guys
First of all, awesome project.

I am wondering if its possible (or already exists), is a method of only showing rows with a certain value in one of the columns. Say, if only certain rows have the item "xyz" in column 9.

Thanks

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-04-19 14:33
Návrat hore  Odpovedať s citátom     

look at $opts['filters'] in documentation.

 
xice     Založený: 19.04.2007   Príspevky: 3  
Príspevok Zaslal: 2007-04-19 15:31
Návrat hore  Odpovedať s citátom     

wow, easier than I thought.

for the record, just put the line of code near all of the commented filters in the generated php file..

LIke:

$opts['filters'] = "Random>10";

i.e. filters all values in the column less then 11.

*be sure to check the case also

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov