Commit 167594dc authored by Steven Wittens's avatar Steven Wittens

Added "db_insert_id()", a wrapper for mysql_insert_id();

parent ecc651d8
......@@ -32,6 +32,9 @@ drupal 2.00, 15/03/2001
* added CREDITS file
* added directory "misc"
* added new scripts to directory "scripts"
* improved database abstraction layer
+ added db_insert_id()
- revised documentation
drupal 1.00, 15/01/2001
......
......@@ -38,6 +38,12 @@ function db_result($qid, $field = 0) {
if ($qid) return mysql_result($qid, $field);
}
function db_insert_id() {
return mysql_insert_id();
}
// Setup database connection:
db_connect($db_host, $db_user, $db_pass, $db_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment