Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

let me revise..passing variables to a form, nedd help, thanks!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Another Website is sending passback variables to my webpage.

I have figured out how to capture these passbacks and display them to the Viewer of my Webpage using this code snippit:

<?php print $MyVariableHere; ?>

This is Great! however, I would like these variables to appear in form objects like text boxes instead of just plain text on the page. This saves the user of my site having to type that info into the textfields that I have set up.


ANY IDEAS?

Thanks,

'da Slouch
 
Err, like this?

<? echo &quot;<input type=\&quot;text\&quot; name=\&quot;my_textbox\&quot; value=\&quot;$my_variable\&quot;>\n&quot;; ?>
 
Actually this is what I was searching for for anybody else who may need this:

<input type=&quot;text&quot; name=&quot;myvariable&quot; value=&quot;<?php print $myvariable;?>&quot; maxlength=&quot;50&quot;>

Later,

Thanks,

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top