at the very end of page? Is it possible to do that?
This is a part of html page...
<input type="text" name="total" value="???">
<input type="text" name="a1" value="3">
<input type="text" name="a2" value="5">
...
The problem is that <input type="text" name="total" value="???"> is displayed BEFORE you know TOTAL value that should be put in there.
Then you take values from MySQL database and display them on the html page as well:
<input type="text" name="a1" value="3">
<input type="text" name="a2" value="5">
...
You have php variable $totalres that contains the amount you would put into <input type="text" name="total" >. How to do that?
Thank you.
This is a part of html page...
<input type="text" name="total" value="???">
<input type="text" name="a1" value="3">
<input type="text" name="a2" value="5">
...
The problem is that <input type="text" name="total" value="???"> is displayed BEFORE you know TOTAL value that should be put in there.
Then you take values from MySQL database and display them on the html page as well:
<input type="text" name="a1" value="3">
<input type="text" name="a2" value="5">
...
You have php variable $totalres that contains the amount you would put into <input type="text" name="total" >. How to do that?
Thank you.