Changeset 31


Ignore:
Timestamp:
Oct 14, 2008, 8:55:39 PM (16 years ago)
Author:
maron
Message:

Oprava chyb

Location:
branches/3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3/class/database.php

    r30 r31  
    2121    $this->LastQuery = "SELECT ".$What." FROM `".$this->Prefix.$Table."` WHERE ".$Condition;
    2222    $resul = $this->query($this->LastQuery);
    23    // echo $this->error;
     23    echo $this->error;
    2424   
    2525    $this->LastNumRows = $resul->num_rows;
  • branches/3/frontend.php

    r30 r31  
    9393    <tr><td>'.REGISTRATION_PAGE_FULLNAME.'</td><td><input name="FullName" type="text" /></td></tr>
    9494    <tr><td>'.REGISTRATION_PAGE_LANGUAGE.'</td><td><select name="Language">';
    95       $Query = $database->select('language', '*');
     95      $Query = $database->select('Language', '*');
    9696      while($DbRow = $Query->fetch_array())
    9797      { if ($DbRow['Id'] == 2)
Note: See TracChangeset for help on using the changeset viewer.