display a hiddenfield

From: Date: Fri, 20 Feb 2004 11:16:43 +0000
Subject: display a hiddenfield
Groups: php.general 
Request: Send a blank email to php-general+get-178327@lists.php.net to get a copy of this message
I use a simple form like this : print("<form method=\"post\" action=\"image.php\">\n"); print("<input type=\"hidden\" name=\"hiddenField\">\n"); $_POST["hiddenField"] = $image_avant; print("<input type=\"submit\" name=\"avant\" value=\"Avant\">\n"); print("</form>\n"); and when i click on the submit button, i want to display the value of my hiddenField (doing by the file image.php) : <?php echo $_POST["hiddenField"]; ?> but nothing is displaying !!!!!! Please help !

« previous php.general (#178327) next »