formular z index.html posles na subor index.php...

premenne su mena (name) input prvkov formulara...

V php subore sa potom normalne na tie premenne spytas...

Clovece, ved to su uplne zaklady

index.html
Kód:
<form name="menoformularu" action="index.php" method="post">
<input type="text" name="nejakytext" size="40">

<input type="submit" value="Odosli">
</form>
index.php
Kód:
<?

if &#40;!empty&#40;$GLOBALS&#91;"nejakytext"&#93;&#41;&#41; echo "Vo formulari si zadal&#58; " . $GLOBALS&#91;"nejakytext"&#93;;
else echo "Nic si nezadal";

?>
P.S.

index.php si radsej nazvi nejako inak ako index...