1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:15:56 +00:00

rework label editor from inline to infobox

This commit is contained in:
Andrew Dolgov
2006-08-16 08:28:10 +01:00
parent 68c1b64ff1
commit a4dbc5247a
4 changed files with 123 additions and 57 deletions

9
db.php
View File

@@ -134,4 +134,13 @@ function db_affected_rows($link, $result) {
return mysql_affected_rows($link);
}
}
function db_last_error($link) {
if (DB_TYPE == "pgsql") {
return pg_last_error($link);
} else if (DB_TYPE == "mysql") {
return mysql_error($link);
}
}
?>