see the dreamweaver documentation for creating a master detail page set:
help.html?content=WScbb6b82af5544594822510a94ae8d65-78b7.html
from there, look at the documentation for creating an insert and update page.
I would recommend looking at some some PHP / MySQL Books for further details and step by step walkthroughs.
the David Power Foundation PHP book is a good starting place and is geared towards php / mysql development in dreamweaver specifically.