PHP result display in textbox onClick
<p>I need to get result where PHP generated ID for current button click is displayed in html textfield...</p>

<p>Is there any easy way of doing this?</p>

<p>This is the link of what I am trying to do <a href="http://dtech.id.lv/lat.php" rel="nofollow">http://dtech.id.lv/lat.php</a>
When user first comes he doesn't have code, so he clicks get code.
I need that php generated code is pasted in textbox after this click...</p>

<p>Could someone help?
Thank you!</p>
