Parašė Pakartoti slaptažodį· 2011 Geg. 16 16:05:59
#2
Pirmoji forma:
<form action="geras1.php" method="post">
<p id="bandymas">Name:</p> <input type="text" name="fname" />
<p id="bandymas">Password:</p> <input type="text" name="password" />
<input type="submit"
name="submit" value="Siusti" />
</form>
Antroji forma:
<html>
<body>
<?php if (isset($_POST['submit'])) {
Welcome: <?php echo $_POST["fname"]; ?>!<br />
Your password is: <?php echo $_POST["password"]; ?>
}
</body>
<html>
:)