Code: Select all
while($data = $DB->Fetch($query)) {
if(ereg($local,$data["location"])) {
$str .= "['".$data["location"]."','".$data["array"]."','".$data["model"]."'],";
}
}
echo $str;
}
Moderator: General Moderators
Code: Select all
while($data = $DB->Fetch($query)) {
if(ereg($local,$data["location"])) {
$str .= "['".$data["location"]."','".$data["array"]."','".$data["model"]."'],";
}
}
echo $str;
}
Code: Select all
while($data = $DB->Fetch($query)) {
$output = array();
if(ereg($local,$data["location"])) {
$output[] = "['".$data["location"]."','".$data["array"]."','".$data["model"]."']";
}
echo implode(',', $output);
}