Subversion Repositories ALCASAR

Rev

Rev 2488 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2488 Rev 3076
Line 94... Line 94...
94
	return mysqli_num_rows($result);
94
	return mysqli_num_rows($result);
95
}
95
}
96
 
96
 
97
function da_sql_fetch_array($result,$config)
97
function da_sql_fetch_array($result,$config)
98
{
98
{
99
	$row = @array_change_key_case(mysqli_fetch_array($result,
99
	while($fetch=mysqli_fetch_array($result,MYSQLI_ASSOC)){
100
		MYSQLI_ASSOC),CASE_LOWER);
100
		$row = @array_change_key_case($fetch,CASE_LOWER);
101
	if ($config['sql_debug'] == 'true'){
101
		if ($config['sql_debug'] == 'true'){
102
		print "<b>DEBUG(SQL,MYSQL DRIVER): Query Result: <pre>";
102
			print "<b>DEBUG(SQL,MYSQL DRIVER): Query Result: <pre>";
103
		print_r($row);
103
			print_r($row);
104
		print "</b></pre>\n";
104
			print "</b></pre>\n";
-
 
105
		}
-
 
106
		return $row;
105
	}
107
	}
106
	return $row;
-
 
107
}
108
}
108
 
109
 
109
function da_sql_affected_rows($link,$result,$config)
110
function da_sql_affected_rows($link,$result,$config)
110
{
111
{
111
	if ($config['sql_debug'] == 'true')
112
	if ($config['sql_debug'] == 'true')