Hey guru's...
I have a function that I use to write a variable to a page to create a dynamic link. That works very well.
However, I also want to pass that function result to a hidden field on a form. So when the form is submitted the variable gets written to my database.
Basicaly the dynamically created grabbed variable gets written into the "value" area of my hidden field.
Example: <input type="hidden" name="field1" value=http://www.webdeveloper.com/forum/archive/index.php/"the variable grabbed from the function">
What's the easiest (or best) way to accomplish this?
I tried a few things from some tutorial I found online...but can't get the desired results!
Thanks in advance!
I have a function that I use to write a variable to a page to create a dynamic link. That works very well.
However, I also want to pass that function result to a hidden field on a form. So when the form is submitted the variable gets written to my database.
Basicaly the dynamically created grabbed variable gets written into the "value" area of my hidden field.
Example: <input type="hidden" name="field1" value=http://www.webdeveloper.com/forum/archive/index.php/"the variable grabbed from the function">
What's the easiest (or best) way to accomplish this?
I tried a few things from some tutorial I found online...but can't get the desired results!
Thanks in advance!