Populating a form with PHP, HELP!

Does anyone know how I would go about populating a form with information from a database table?

The form consists of regular textboxes and a few dropdown boxes and also checkboxes. I need the user to goto a page and be able to edit their details and update them.

I have no idea how to do this, does anyone know of a good tutorial that will take me through it step by step?

I have been working on this bloody program for ages, i’ve got a pounding headache and really feel like burning the whole bloody thing.