I cannot find the answer to this in books, so I turn to you folks, who have alot of experience. Here is my question, regarding a form page with a lot of data that needs to be submitted to the next page. Which is faster (more elegant/more efficient)?
...to use a "long" form action tag, or to use lots of hidden inputs? Examples:
//long action tag
<form method="post" action="nextpage.php?detail=<?php print $detail; ?>&anothervalue=<?php print $anothervalue; ?>?visitor=<?php print $visitor; ?>?anotherdetail=<?php print $anotherdetail; ?>">
<INPUT TYPE="SUBMIT">
</FORM>
or...
<form method="post" action="nextpage.php">
//hidden inputs
<INPUT TYPE="hidden" NAME="detail" VALUE="<?php print $detail; ?>">
<INPUT TYPE="hidden" NAME="anothervalue" VALUE="<?php print $anothervalue; ?>">
<INPUT TYPE="hidden" NAME="visitor" VALUE="<?php print $visitor; ?>">
<INPUT TYPE="hidden" NAME="anotherdetail" VALUE="<?php print $anothedetail; ?>">
</FORM>