mirror of
https://github.com/Mibew/java.git
synced 2025-02-02 14:54:43 +03:00
Added wrapper function for mysql_insert_id
This commit is contained in:
parent
3e5834983f
commit
863f6867c6
@ -384,6 +384,11 @@ function db_error($link)
|
||||
return mysql_error($link);
|
||||
}
|
||||
|
||||
function db_insert_id($link)
|
||||
{
|
||||
return mysql_insert_id($link);
|
||||
}
|
||||
|
||||
function perform_query($query, $link)
|
||||
{
|
||||
mysql_query($query, $link) or die(' Query failed: ' . db_error($link));
|
||||
|
Loading…
Reference in New Issue
Block a user