Changeset 56 for trunk/fill_database.php
- Timestamp:
- Feb 2, 2009, 10:53:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fill_database.php
r50 r56 11 11 { 12 12 echo('<br />'.$Group['Name'].'<br />'); 13 $Columns = '`'.$ Config['Database']['DatabaseMangos'].'`.`'.$Group['MangosTable'].'`.`'.$Group['MangosTableIndex'].'`';13 $Columns = '`'.$Group['MangosDatabase'].'`.`'.$Group['MangosTable'].'`.`'.$Group['MangosTableIndex'].'`'; 14 14 foreach($Group['Items'] as $GroupItem) 15 $Columns .= ', `'.$ Config['Database']['DatabaseMangos'].'`.`'.$Group['MangosTable'].'`.`'.$GroupItem['MangosColumn'].'` AS `'.$GroupItem['Column'].'`';16 $Query = 'SELECT '.$Columns.' FROM `'.$ Config['Database']['DatabaseMangos'].'`.`'.$Group['MangosTable'].'`';15 $Columns .= ', `'.$Group['MangosDatabase'].'`.`'.$Group['MangosTable'].'`.`'.$GroupItem['MangosColumn'].'` AS `'.$GroupItem['Column'].'`'; 16 $Query = 'SELECT '.$Columns.' FROM `'.$Group['MangosDatabase'].'`.`'.$Group['MangosTable'].'`'; 17 17 //echo($Query.'<br />'); 18 18 $Count = 0;
Note:
See TracChangeset
for help on using the changeset viewer.