#edit_user.php
<script>
function open_lookup(){
lookup_win=window.open("lookup_user.php","lookup_win","width=300,400");
}
</script>
<?
....select data from database......
$sql="select * from user where user_id='".$_GET[user_id]."'";
....query
....fetch
?>
<form>
user:<input name="user_name" value="<?=user_name?>"><input type="button" value="..." onclick="open_lookup()">
</form>