Thanks, piersk, but I still can't get it to work.
have a script that has a form and hidden inputs in it
Does this mean I need javascript and I need to put the hidden form in between the script tags?
Then you just have all the variables that you want pass as hidden inputs.
How do I do this? I really need some guidance. This is what I managed out of the help given earlier.
Here's my form with hidden values... the PHP variables on the page are $new_array and $new_array2.
echo"<FORM name=\"sendVars\" method=\"post\" ACTION=\"preview.php\">";
echo"<INPUT TYPE=\"hidden\" NAME=\"new_array\" VALUE=\"$new_array\">";
echo"<INPUT TYPE=\"hidden\" NAME=\"new_array2\" VALUE=\"$new_array2\">";
echo"</FORM>";
I just don't get how it works.
Here's my script with the submit thing appearing after this form...
<script>
//NEW javascript to pass variables...<script>document.forms.formname.submit()<./script>
document.forms.sendVars.submit();
</script>
From what I have written earlier, I have this code in the second page, the make_form page.
I really appreciate any help with this problem. It would be great to get past this. Thanks.