Para hacerlo todo en la misma pagina y de la manera más sencilla no pongas action:
Código PHP:
<html><HEAD></HEAD><BODY>
<?php
if(!empty($_POST)){
echo "Nombre-->".$_POST['nombre']."<br>Edad-->".$_POST['edad'];
}else{
}
?>
<form method="post">
<b>Tu nombre</b>
<input type ="text" name="nombre"><br>
<b>Tu edad</b>
<input type="text" name="edad">
<input type ="submit">