Re: passing values from dynamic form to another php page?

From: Date: Fri, 16 Sep 2005 07:07:16 +0000
Subject: Re: passing values from dynamic form to another php page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-222503@lists.php.net to get a copy of this message
Quite rite. Well i have used this on my next page: global $HTTP_POST_VARS; $num_fields=count($HTTP_POST_VARS); while(list($key, $value) = each($HTTP_POST_VARS)) { echo "$key = $value<br>";
          /////////////or whatever coding i want to do//////////
} 
regards hope Jay Blanchard wrote:
[snip] <form name="sqlform" action="table1_process2.php" method="post" enctype="multipart/form-data" >
//////////////////////////////////////////////////////////////////////////// // now i want to access the values from input fields on next page? can somebody give me idea how to pass all form field values to next page in this context?? [/snip]
Look in the $_POST array (which matches the form method) on the next page. For example;
<?php
print_r($_POST);
?>


« previous php.general (#222503) next »