- Does your database exist yet? (do you know how to create one?)
- Does your database table exist yet? (does it have any records in it?)
- Do you have a connection to your database? (do you know how to connect to it?)
- Do you know how to query the database?
- Do you know how to retrieve the results?
Are you looking for a tutorial? you should try Google. The PHP Manual is also a great place to start: try the PDO extension.
Do you have any code? Show it to us, and explain your specific problem. Then we’ll be able to help.
Also, your title and post seem contradictory: are you trying to take data from the database and put it into the textarea, or from the textarea and put it into the database?