Changeset 12445 for trunk/www/db_po/get_values.php
- Timestamp:
- 11/07/11 12:02:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/get_values.php
r12097 r12445 60 60 $query0 ="SELECT fIndex, fValidFrom, fProgram, Concat(fKey1,fKey2), fValue, "; 61 61 $query0.="fDescription, fCounter, fType, fMin, fMax, fKey1, SUBSTRING(fKey2,2), "; 62 $query0.="if(fOriginalIndex=0, fIndex, fOriginalIndex) , fUser FROM ProgramOption ";62 $query0.="if(fOriginalIndex=0, fIndex, fOriginalIndex) as MyIndex, fUser FROM ProgramOption "; 63 63 $query0.="WHERE 1=1 "; 64 64 if (strcmp($_GET["fKey"],"all")!=0) … … 73 73 $query0.=" AND (fValidFrom < '".$_GET["fStatusDate"]."' OR fValidFrom like '".$_GET["fStatusDate"]."%') "; 74 74 } 75 $query0.=" ORDER BY fOriginalIndex, fIndex";75 $query0.=" ORDER BY MyIndex "; 76 76 77 77 $result0=mysql_query($query0, $db_id);
Note:
See TracChangeset
for help on using the changeset viewer.