[FX.php List] Returning calculated fields after a new record submission

Josh Shrier joshshrier at gmail.com
Mon Sep 8 14:13:57 MDT 2008


I have a form which the user fills out as a submission request. I want the
results page to display all the entered information from the form as well as
calculation results generated in the database after the submission. The
information entered on the form displayed fine on the results, however the
calculated results did not display.

 

For example:

 

The user enters start and end time and I want to results page to display the
duration time which is end time- start time. On the results page I have it
shows up blank.

 

I used $Duration=$_POST['Duration']; as the variable

 

Then in the table I attempted to display like this:

 

<tr>

<td>Duration</td>

<td><?php echo $Duration; ?>

</td>

 

 

I don't know why it doesn't work, please help.

 

-Josh Shrier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080908/e03ac5af/attachment.html


More information about the FX.php_List mailing list