Ok. Can PHP control a form value directly? Eg. like the javascript
"document.Form1 .text01.value = "Y"". Eg. allow me to put a value into
a form text field on page load. Either I missed this in my PHP book
or the function does not exist.
The only way I have seen is to put code in the value part of the input
item, see below.
Thanks
<input type="text" value = "<? echo sprintf("%01.2f ",
$TotalCost);?>"/>
"document.Form1 .text01.value = "Y"". Eg. allow me to put a value into
a form text field on page load. Either I missed this in my PHP book
or the function does not exist.
The only way I have seen is to put code in the value part of the input
item, see below.
Thanks
<input type="text" value = "<? echo sprintf("%01.2f ",
$TotalCost);?>"/>
Comment