PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Using the onchange event in the <select> you can have Javascript replace the text in the text field. The information to inject if often stored, in one way or another, inside the value attribute of the option selected.
Have a read through devguru's Javascript articles on what's supported.