- Timestamp:
- Jan 17, 2008, 7:49:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/finance/prepocet.php
r6 r23 5 5 function RecalculateUsersFinance() 6 6 { 7 global $InternetSegmentId, $Tarify, $Sprava ;7 global $InternetSegmentId, $Tarify, $Sprava, $Database; 8 8 9 9 $DbResult = $Database->query("SELECT * FROM users WHERE role=0"); // Select network members only … … 115 115 116 116 $DbResult = $Database->query("SELECT SUM(money) FROM finance_operations"); 117 $Row3 = DB_Row();117 $Row3 = $DbResult->fetch_array(); 118 118 echo("Rozdíl peněz v operacích: ".($Row3[0]-$Row6[0] - $Row4[0])." <br>\n"); 119 119
Note:
See TracChangeset
for help on using the changeset viewer.