OK, I have struggled with this for a couple of days.
I have a PHP file with form. On this form, there are two buttons. One does the action of calling "process_data.php". Sounds OK, huh? BUT..... I want the button to not only call it, but pass a variable ($tcid) that is generated along the way. So.. here is my code for the form:
<form id="form1" name="form1 method="post" action="process_data.php?tcid=$tcid">
Now pressing the button (that is later), the "stuff" passed is "&tcid" or in other words, the variable name. I have confirmed this by echoing the result in the receiving page.
HELP...........
Ep
I have a PHP file with form. On this form, there are two buttons. One does the action of calling "process_data.php". Sounds OK, huh? BUT..... I want the button to not only call it, but pass a variable ($tcid) that is generated along the way. So.. here is my code for the form:
<form id="form1" name="form1 method="post" action="process_data.php?tcid=$tcid">
Now pressing the button (that is later), the "stuff" passed is "&tcid" or in other words, the variable name. I have confirmed this by echoing the result in the receiving page.
HELP...........
Ep