Changeset 425


Ignore:
Timestamp:
Feb 10, 2009, 12:58:22 PM (16 years ago)
Author:
amun
Message:

Změněna nazev DB v kodu, z které se mají tahat data o dotacich

File:
1 edited

Legend:

Unmodified
Added
Removed
  • beta/pages/dotation.php

    r407 r425  
    1818$db -> select_db($db_webu);
    1919
    20 $load_money = $db -> query("SELECT SUM(`money`) FROM `dotation`;") -> fetch_array();
     20$load_money = $db -> query("SELECT SUM(`money`) FROM `finance`;") -> fetch_array();
    2121
    2222echo"<p><strong>Aktuální stav financí: ".$load_money[0]." Kč</strong></p>";
     
    2929    </tr> 
    3030";
    31 $load_dotation = $db -> query("SELECT * FROM `dotation` ORDER BY `id` DESC;");
     31$load_dotation = $db -> query("SELECT * FROM `finance` ORDER BY `id` DESC;");
    3232  while ($row = $load_dotation -> fetch_array())
    3333  {
     
    5353  }
    5454 echo "</table>";
     55
    5556?>
Note: See TracChangeset for help on using the changeset viewer.