Asuming you have set up your testing server and have a created a php database connection.
if not, try
dynamic_site_definitions.php
creating_db_connection.php
What you need to do is create a recordset within dreamweaver.
to do this simply create a new php page and use the bindings tab to add a recordset.
with the recordset in place, you can drag and drop the fields you need onto your page
As i said before, there are loads of tutorials and advice for this