Changeset 425 for branches/CombinedTextTables/includes/global_function.php
- Timestamp:
- Apr 8, 2010, 7:58:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CombinedTextTables/includes/global_function.php
r417 r425 238 238 $Result[$DbRow['Id']] = $DbRow; 239 239 } 240 $DbResult = $Database->SQLCommand('SELECT * FROM `GroupItem` ORDER BY ` DBCColumnIndex`');240 $DbResult = $Database->SQLCommand('SELECT * FROM `GroupItem` ORDER BY `Sequence`'); 241 241 while($DbRow = mysql_fetch_assoc($DbResult)) 242 242 { 243 $Result[$DbRow['Group']]['Items'][ ] = $DbRow;243 $Result[$DbRow['Group']]['Items'][$DbRow['Sequence']] = $DbRow; 244 244 } 245 245 return($Result); … … 469 469 { 470 470 //echo $Value['TablePrefix'].'='.$Table.'<br>'; 471 if ($Value['TablePrefix'] == $Table) return $TableID;471 if($Value['TablePrefix'] == $Table) return($TableID); 472 472 } 473 473 }
Note:
See TracChangeset
for help on using the changeset viewer.