php获得一个mysql数据查询结果
if (!function_exists('mysql_fetch_results')) {
function mysql_fetch_results($resource, $results = Array()) {
while($row = @mysql_fetch_assoc($resource)) { $results[] = $row; }
return $results;
}
}
php获得一个mysql数据查询结果
if (!function_exists('mysql_fetch_results')) {
function mysql_fetch_results($resource, $results = Array()) {
while($row = @mysql_fetch_assoc($resource)) { $results[] = $row; }
return $results;
}
}