2013-04-17 09:08:36 +00: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 17:04:24 +00:00
|
|
|
function last_query_error();
|
2013-04-17 09:08:36 +00:00
|
|
|
}
|
|
|
|
?>
|