<? $wj='1.php'; $wj='2.php'; $wj='3.php'; $key=$_GET['key']; echo '<form name="input" action="$wj" method="post"> <input type="text" name="key" value=""> <input type="submit">'; ?>