Re: $_Post doesn´t work

From: Date: Wed, 05 Mar 2003 19:34:58 +0000
Subject: Re: $_Post doesn´t work
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18861@lists.php.net to get a copy of this message
the problem was that i wrote $_Post and not $_POST ! Now it works fine...thanks for helping ! Oliver "Ryan Marrs" <rmarrs@strtrade.com> schrieb im Newsbeitrag news:0CFC848DA61AE44FBC8C9718D354637C0157319E@dtw_localmail... 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

« previous php.windows (#18861) next »