RonnyNishimoto
08-05-2012, 03:27 AM
Hi!
I have a form in which uses:
<form action="<?php echo $_SERVER["PHP_SELF"] . "?m=results"; ?>" method="POST">
in order to submit the form to itself (for php validation). It works fine, but when I try to use:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") { echo 'a'; }
it doesn't work :confused:
Anyway to fix this?
I have a form in which uses:
<form action="<?php echo $_SERVER["PHP_SELF"] . "?m=results"; ?>" method="POST">
in order to submit the form to itself (for php validation). It works fine, but when I try to use:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") { echo 'a'; }
it doesn't work :confused:
Anyway to fix this?