diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-12-30 11:05:17 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-12-30 11:05:17 +0100 |
commit | af140085fe603c00c7ce98435b89d2ee56a10cd9 (patch) | |
tree | f16ff10dfff794986cd2ec6dc3322aff61215215 | |
parent | e4cfdbe7da6340d8c06f797eba686797391717c6 (diff) |
removed any trace of MySQL from PHPFSPOT_DB
-rw-r--r-- | phpfspot_db.php | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/phpfspot_db.php b/phpfspot_db.php index 7d8caa0..4e87cf9 100644 --- a/phpfspot_db.php +++ b/phpfspot_db.php @@ -43,7 +43,7 @@ class PHPFSPOT_DB { /* We are starting disconnected */ $this->setConnStatus(false); - /* Connect to MySQL Database */ + /* Connect to database */ $this->db_connect(); } // __construct() @@ -235,19 +235,6 @@ class PHPFSPOT_DB { } // db_getNumRows() /** - * PHPFSPOT_DB get primary key - * - * This function returns the primary key of the last - * operated insert SQL query. - */ - public function db_getid() - { - /* Get the last primary key ID from execute query */ - return mysql_insert_id($this->db->connection); - - } // db_getid() - - /** * PHPFSPOT_DB check table exists * * This function checks if the given table exists in the |