it would really benefit you more to learn everything on your own then ask for help all the time but basicly you just take the name of the field, so for instance..
<input type="text" name="title" />
then in the search.php you would put
<title><?=$_POST['title']?></title>
if your host doesn't support <?= then just do
<title><? echo $_POST['title']; ?></title>
|