query("select * from tiamat"); while ($set->next()) { $tiamat_id=$set->getString('tiamat_id'); } ?>