I don't do too much Database Web development (see DrLudicrous, Lady_Di, etc., for that), but I have dabbled into a lot of AUTOMATED PHP using Dreamweaver's scripts and some tweaking of my own. It's easy to create a MySQL connection, then a recordset and subsequently populate some pages with database query results in DreamWeaver.
Start at W3Schools
for easy reading on PHP, then move onto PHP.net for the real documentation. There are plenty of tutorials out there on MySQL and SQL database connectivity.
What exactly is a "long database", in your own definition? Is this for work? Check out some PHP beginner books at www.bookpool.com
if you can wait a couple of weeks for delivery, reading, etc.