Display MySQL results in html form

How do I go about displaying the results of a search on my Mysql database in an editable html form text field?