$rs = $conn->query("SELECT * FROM test"); while($rs->move_next) { print $rs->field("client") . "\n"; $rs->field("client", "test"); }