Filling and input text field?

Hey everyone,

I have a form that has a

<input type="text" name="location_txt" />

and a

<textarea name="details_txt"><?php echo($det_filler);?></textarea>

my issue is that the Textarea i can pass it data between the brackets like where i have the php and this will populate the text area in the html with the message. Is there any way to do this with a one line input tag or will i have to use another textarea tag