You are on page 1of 1

<html>

<head>

<title>Formular</title>

</head>

<body>

<form action="citeste.php" method="POST">

<p><strong>Nume:</strong><br>

<input type="text" name="user">

<p><strong>Adresa:</strong><br>

<textarea name="address" rows="5" cols="40"></textarea>

<P><input type="submit" value="send"></p>

</form>

</body>

</html>

Citeste.php

<html>

<head>

<title>Ex de citire a datelor din formular </title>

</head>

<body>

<?php

echo "<p>Bine ai venit <b>$_POST[user]</b></p>";

echo "<p>Adresa ta este:<br><b>$_POST[address]</b></p>";

?>

</body>

</html>

You might also like