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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);

?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux