idb.php 387 B

12345678910111213
  1. <?php
  2. interface IDb {
  3. function connect($host, $user, $pass, $db, $port);
  4. function escape_string($s, $strip_tags = true);
  5. function query($query, $die_on_error = true);
  6. function fetch_assoc($result);
  7. function num_rows($result);
  8. function fetch_result($result, $row, $param);
  9. function close();
  10. function affected_rows($result);
  11. function last_error();
  12. function last_query_error();
  13. }