mirror of
https://github.com/Mibew/design.git
synced 2025-01-22 18:10:33 +03:00
Added wrapper functions for mysql_fetch_assoc and mysql_fetch_row
This commit is contained in:
parent
20701ad5da
commit
b22f5456fc
@ -389,6 +389,15 @@ function db_insert_id($link)
|
||||
return mysql_insert_id($link);
|
||||
}
|
||||
|
||||
function db_fetch_row($result)
|
||||
{
|
||||
return mysql_fetch_row($result);
|
||||
}
|
||||
|
||||
function db_fetch_assoc($result){
|
||||
return mysql_fetch_assoc($result);
|
||||
}
|
||||
|
||||
function perform_query($query, $link)
|
||||
{
|
||||
mysql_query($query, $link) or die(' Query failed: ' . db_error($link));
|
||||
|
Loading…
Reference in New Issue
Block a user