Putting variable in field value
-
Hi,
I was wondering if anyone would be able to help with a problem I’ve been trying to solve for a long time:
On my home page I have a form which sumbits data (via $_POST) and sends the user to page which this form is on.
I want to be able to put that variable from the last page in the value for one of my fields. I can see the value of my variable on the page that this form is by putting
<?php echo $_POST[‘hours’]; ?>
in the template file for the page. I cannot however workout how to set this variable and the value for a form field.If anyone could help with this it would be greately appreciated.
- The topic ‘Putting variable in field value’ is closed to new replies.