|
Posted by Camile on 12/28/05 20:46
This may be a really simple question, but I'm a rookie.
I have a string of text (simple echo)in a PHP script that I don't want in my
HTML form code. So when my form /page opens I'd like it to pull the text
value from my server's PHP script.
So, when my page/form opens it will populate the below 'value':
<input type="hidden" name="business"
value="http://www.domain.com/hidden.php" />
(doesn't work of course)
I imagine an OnLoad Javascript function could somehow retrieve the PHP
value, set it equal to a variable, then set the variable to equal my form
field value.
I think if I could just display this value(as default) in an Input
type="text" field, I could make this work.
Any help appreciated.
Thanks
Navigation:
[Reply to this message]
|