OK need some help / advice on this one.
I found this WONDERFUL Piece of code:
That uses an HTM file that you can format how you like it and define varaible within the HTM File run the parse command after defining all your variables and passing in their values and it creates a GREAT HTML E-Mail! The best part of this is you can get a feel for what your e-mail is going to look like and design the layout on the screen.
I was hoping I could use this same code to generate a report...but this is where my lack of knowledge comes into play! I don't want to write it to a file and then display that htm file on the screen because then I would need to clean up all those files on the server later...but rather I would like to generate the report virtually and then either display it to the user in HTML format with a bar that could be printed to a printer or display it as a PDF on the screen where the user could either print it or save it.
Any ideas on how I could accomplish this using the code in the above link project?