get and post in a form
| From: | Michel De Belder | Date: | Tue, 04 Nov 2003 11:46:40 +0000 |
| Subject: | get and post in a form | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21970@lists.php.net to get a copy of this message | ||
I installed php5 version and before 4.3.3 version. I'm also using the Apache
server. Wel my problem is, when I use a form and want to send some fields
from that form with the get or post method. The data is not coming through.
Here is an example of a program :<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN">
<html>
<head>
<title>form</title>
</head>
<body>
<form name="form1" action="form1.php" method="get">
<p> Geef uw voornaam
<input name="voornaam" type="text">
</p>
<p> Geef uw naam
<input name="naam" type="text">
</p>
<p>
<input name="verzenden" type="submit" value="Verzenden query">
</p>
</form>
<?php
echo "<b>Hartelijk welkom, $voornaam $naam.</b>";
?>
<p> </p>
</body>
</html>
So what is my problem? Is there something wrong with my configuration? I
followed all the instuctions at the installation.
Many thanks.