<html>
<body>

<table width=700 border=1>
<tr>
    <td width=50%>
    GET form:
    </td>
    <td width=50%>
    POST form:
    </td>
</tr>
<tr>
    <td>
    <form action=form.php method=get>
    value1: <input typpe=text name=value1 value="<?echo $_GET[value1]?>"><br>
    value2: <input typpe=text name=value2 value="<?echo $_GET[value2]?>"><br>
    <input type=submit value=send>
    </form>
    </td>
    <td>
    <form action=form.php method=post>
    value1: <input typpe=text name=value1 value="<?echo $_POST[value1]?>"><br>
    value2: <input typpe=text name=value2 value="<?echo $_POST[value2]?>"><br>
    <input type=submit value=send>
    </form>
    </td>
</tr>
<tr>
    <td>
    GET valtozok: <br>
    <? print_r($_GET); ?>
    </td>
    <td>
    POST valtozok: <br>
    <? print_r($_POST); ?>
    </td>
</tr>
</table>
</body>
</html>