Update web view

This commit is contained in:
2014-11-27 18:27:31 +01:00
parent e9e0e35c12
commit 54945703b6
3 changed files with 37 additions and 2 deletions

View File

@@ -140,6 +140,22 @@ function LoadCategory(&$user, $id)
return "";
}
function LoadTag(&$user, $id)
{
global $db;
$result = $db->query("SELECT * FROM tag WHERE id='$id'");
if ($row = $result->fetchArray())
{
array_push($user->tags, $row);
return $row;
}
return "";
}
function GetAccountAmount($id, $month, $year)
{
global $db;