Thanatos
12-01-2002, 05:56 PM
Page A:
<FORM method = "POST" action="do_showfielddef.php">
<P>Table Name:<br><INPUT type="text" name="table_name" size=30></P>
<P>Number of Fields:<br><INPUT type="text" name="num_fields" size=5></P>
<INPUT type="submit" value="Go to step 2">
</FORM>
using on Page B:
<input type="hidden" name="table_name" value="<?php echo "$table_name"; ?>">
where $tablename in the page proves that it has a value on this page (it is displayed when the page loads)
the following line shows that it has no data on Page C:
<h1>Adding table <?php echo "$table_name"; ?> </h1>
Am I missing something? all the other values are passed in the form.... Does it matter that the initial value for $table_name is passed from Page A?
Thanks....
<FORM method = "POST" action="do_showfielddef.php">
<P>Table Name:<br><INPUT type="text" name="table_name" size=30></P>
<P>Number of Fields:<br><INPUT type="text" name="num_fields" size=5></P>
<INPUT type="submit" value="Go to step 2">
</FORM>
using on Page B:
<input type="hidden" name="table_name" value="<?php echo "$table_name"; ?>">
where $tablename in the page proves that it has a value on this page (it is displayed when the page loads)
the following line shows that it has no data on Page C:
<h1>Adding table <?php echo "$table_name"; ?> </h1>
Am I missing something? all the other values are passed in the form.... Does it matter that the initial value for $table_name is passed from Page A?
Thanks....