PHP script using fpdf library to generate a PDF document with content pulled from a SQL Server database