$str = "select * from " . $dbname . ".otm_datakontak where status='1' order by nama";
$n=$owlPDO->query($str) or die(print " Gagal: ".PDOException::getMessage());
$n->setFetchMode(PDO::FETCH_ASSOC);
while ($d = $n->fetch()) {
?>
echo $d['nama']; ?>
Tim Omega
}
?>