RE: [PHP-WIN] $_Post doesn´t work
| From: | Ryan Marrs | Date: | Wed, 05 Mar 2003 08:11:43 +0000 |
| Subject: | RE: [PHP-WIN] $_Post doesn´t work | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18850@lists.php.net to get a copy of this message | ||
Try:
<html>
<body>
<?
if ($_POST["submit"] {
?> Daten wurden eingetragen <?
}
?>
<form action="<? print($_SERVER["PHP_SELF"]); ?>"
method="post">
<input type="submit" name="submit" value="Daten eintragen">
</form>
</body>
</html>
___________________________________
Ryan Marrs
Web Developer
Sandler & Travis Trade Advisory Services, Inc.
248.474.7200 x 183
248.474.8500 (fax)
www.strtrade.com
-----Original Message-----
From: Oliver Steimer [mailto:oliver.steimer@mbos.de]
Sent: Tuesday, March 04, 2003 5:06 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] $_Post doesn´t work
Hi there ,
I´m trying PHP and have a problem with with the superglobals.
I use Apache 1.3.27 and php 4.3.1
this is my script:
<html>
<body>
<?php
if ($_Post['submit'] {
echo (" Daten wurden eingetragen");
}
<form action="" method="post">
<input type="submit" name="submit" value="Daten eintragen">
</form>
</body>
</html>
but my script won´t do anything !!
Any one who can help ?
regards
Oliver
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php