Topic: Single Page Report

HI
Sir
I have created a page in sales/customreport.php
Here I just want to generate a PDF file against any sql query

PLEASE HELP ME
THNX