Yes i know this question has been asked previously on Stackoverflow millions of time,i looked over them but still unable to find what's wrong.Any help would be appreciated,thank you.
$temp = null;
$result = [];
while(odbc_fetch_row($biaya)) {
$no++;
$sub_title=odbc_result($biaya,"subtitle");
$title=odbc_result($biaya,"title");
if($temp != $sub_title) {
$result[$sub_title] = ["no" => $no, "subtitle" => $sub_title, "title" => $title];
$temp = $sub_title;
}
else {
$result[$sub_title][] = ["no" => $no, "subtitle" => $sub_title, "title" => $title];
}
}
答案 0 :(得分:0)
jQuery file should be loaded first in order to achieve that.
So it should be like this.
tag