Changeset 365 for trunk/comparison.php


Ignore:
Timestamp:
Mar 9, 2010, 11:29:05 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Jména tabulek v databází upraveny na stejná s prvními velkými písmeny.
  • Upraveno: Doplněny SQL uvozovky do mnoha SQL dotazů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comparison.php

    r320 r365  
    7272  foreach($Line as $Index => $LineItem)
    7373  {
    74     $LineUser = mysql_fetch_array($Database->SQLCommand('SELECT * FROM user WHERE id = '.$LineItem['User']));
    75     echo('<th>'.$LineUser['user'].'</th>');
     74    $LineUser = mysql_fetch_array($Database->SQLCommand('SELECT * FROM `User` WHERE `ID` = '.$LineItem['User']));
     75    echo('<th>'.$LineUser['Name'].'</th>');
    7676  }
    7777  echo('</tr>');
Note: See TracChangeset for help on using the changeset viewer.