Update database.php
This commit is contained in:
parent
c20225c9e1
commit
453fd2544a
|
@ -181,20 +181,6 @@ if(!function_exists("exec_db_fetch")) {
|
|||
}
|
||||
}
|
||||
|
||||
if(!function_exists("get_value_in_array")) {
|
||||
function get_value_in_array($name, $arr=array(), $default=0) {
|
||||
$output = 0;
|
||||
|
||||
if(is_array($arr)) {
|
||||
$output = array_key_empty($name, $arr) ? $default : $arr[$name];
|
||||
} else {
|
||||
$output = $default;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
if(!function_exists("get_page_range")) {
|
||||
function get_page_range($page=1, $limit=0) {
|
||||
$append_sql = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user