Auto Fill Form, with data, loaded from a table on my DB?

Hi, im newbie on php and mysql, what i need to do is Auto Fill a Form, with data loaded from a table(MySQL) in my DB,
after doing a search a especific row, how can i do this?

I’m not really clear on what you mean… can you explain a little better please?