Image

Imagedead_bob wrote in Imagephp

I have a value in $dues that I can use in the html as such (value calculated on current page from variables passed to it from a previous page):

<font size="2"><b>Total Amount Due: 	 $<?php echo $dues;?>.00</b></font></td>

But then I want to pass that value in a form (same page), would this be kosher?
<form method="POST" action="submitted.php" name="membership">
<input type="hidden" name="cost" value="<?php echo $dues;?>">