2013-04-17 11:08:36 +02:00
|
|
|
<?php
|
|
|
|
interface IDb {
|
|
|
|
function connect($host, $user, $pass, $db, $port);
|
|
|
|
function escape_string($s, $strip_tags = true);
|
|
|
|
function query($query, $die_on_error = true);
|
|
|
|
function fetch_assoc($result);
|
|
|
|
function num_rows($result);
|
|
|
|
function fetch_result($result, $row, $param);
|
|
|
|
function close();
|
|
|
|
function affected_rows($result);
|
|
|
|
function last_error();
|
2016-04-26 19:04:24 +02:00
|
|
|
function last_query_error();
|
2013-04-17 11:08:36 +02:00
|
|
|
}
|
|
|
|
?>
|