Truyen2U.Net quay lại rồi đây! Các bạn truy cập Truyen2U.Com. Mong các bạn tiếp tục ủng hộ truy cập tên miền mới này nhé! Mãi yêu... ♥

_bai_2_ php

<?php

function getGroupByQuery($query) {

$out = null;

$i = 0;

$rs = mysql_query($query);

if (mysql_num_rows($rs) >0) {

while ($rows = mysql_fetch_assoc($rs)) {

while (@list($key,$val) = @each($rows)) {

$out[$i][$key] = $val;

}

$i++;

}

}

return $out;

}

?>

Bạn đang đọc truyện trên: Truyen2U.Com

Tags: #12334