Saludos,
Prueba esto:
Código PHP:
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="x.php?m=1">
<p>
<input type="text" name="m1">
</p>
<p>
<input type="text" name="m2">
</p>
<p>
<input type="submit" name="Submit" value="Enviar">
</p>
<p> </p>
</form>
<?php
if ($_GET['m']==1)
{
echo $_POST['m1']*$_POST['m2'];
}
?>
</body>
</html>