Arkadaş sadece form verilerini istiyor sanırım o zaman veritabanı kullanmaya gerek yok,
<?php
if(!$_POST["gonder"]) {
echo "<form action=\"index.php\" method=\"post\">";
echo "Alan 1 : <input type=\"text\" name=\"alan1\" /><br />";
echo "Alan 2 : <input type=\"text\" name=\"alan2\" /><br />";
echo "<input type=\"submit\" name=\"gonder\" value=\"Gönder\" />";
echo "</form>";
} else {
$Alan1 = $_POST["alan1"];
$Alan2 = $_POST["alan2"];
echo "<table>";
echo "<tr>";
echo "<td><b>Alan 1</b></td>";
echo "<td><b>Alan 2</b></td>";
echo "</tr>";
echo "<tr>";
echo "<td>".$Alan1."</td>";
echo "<td>".$Alan2."</td>";
echo "</tr>";
echo "</table>";
}
?>