This commit is contained in:
Christian Paminger
2007-11-11 12:12:04 +00:00
parent 8c0ae04346
commit 6a1049c4d5
5 changed files with 244 additions and 251 deletions
-17
View File
@@ -400,22 +400,5 @@ class adresse
return false;
}
}
// ********************************************************
// * Datenbank-Check
// * @param $adresse_id ID die geloescht werden soll
// * @return true wenn ok, false im Fehlerfall
// ********************************************************
function check_db($conn)
{
$qry='SELECT adresse_id,person_id,name,strasse,plz,ort,gemeinde,nation,typ,heimatadresse,zustelladresse,firma_id,updateamum,updatevon,insertamum,insertvon
FROM public.tbl_adresse LIMIT 1';
if(pg_query($conn,$qry))
return true;
else
return false;
}
}
?>