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:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 5:06 PM To: [EMAIL PROTECTED] 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php