It worked perfectly on the first try! Thanks again for helping the below average coder! I have been formatting all the CSS and table elements and the .doc is coming out to look exactly like the report they turn in every week. Yes, the boss is EXTREMELY impressed. I am going to research a few more things for formatting, but would anyone happen to know how to pass variables and such to the .doc?
My link is on one page that displays all the database information. I'd like to pass that information to the .doc, but I can't figure out how to insert the $variables into the page.
Is this close? Since I have to put in the exit(); code, do I simply break out of the php tags, insert my information normally and then open another php tag to continue to the exit(); code? I don't think that will work, so any input will be greatly appreciated.