Sometime on Fri, Jan 27, 2006 at 05:24:49PM +0530, Francis said:
I spent the whole morning trying to figure out how to create an extra variable in a html page and sent it to a form processing php script . "<input type="text", name="firstname" size =" 34">" this creates a variable "firstname" which can be collected for processing in a php script as $_POST["firstname"] , but along with this say I also want to
You could send the data inside a hidden field, if that's what you are trying to do.
<input type="hidden" name="hidden_field" value="coming from foo">
You can refer this by $_POST['hidden_field'] if the document got posted.
Anurag